On Sep 16, 2009, at 3:34 PM, Marius Dumitru Florea wrote:
Vincent Massol wrote:
Hi,
Following our discussion on the new title behavior we need to define
the title compat flag value.
I'm proposing:
#-# Defines whether title handling should be using the compatyiblity
mode or not. When the compatibility
#-# mode is active, if the document's content first header (level 1
or
level 2) matches the document's title
#-# the first header is stripped.
xwiki.title.compatibility=0
+1
+ we need a way to access this property from contentview.vm so I'm
proposing to also add a method to api.XWiki:
isTitleInCompatibilityMode()
+0, shouldn't we have a generic way of accessing configuration
parameters in velocity?
yes I agree. I'd like to have the services proposal implemented before
we do this though.
Thanks
-Vincent