On Wed, Sep 16, 2009 at 15:34, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> 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?
If it's totally generic then it would need programming right since we
don't want anyone to access what is stored in xwiki.cfg
Thanks,
Marius
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs