Hi,
On Nov 28, 2012, at 5:32 PM, Fernando Ferreira <nando.rf(a)gmail.com> wrote:
Hello,
Does anyone know if it is possible to set parameters to li elements using
the (%%) syntax?
Unfortunately it's not supported at the moment, see
http://jira.xwiki.org/jira/browse/XRENDERING-36
Thanks
-Vincent
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters and
the examples do not mention li**, only ul/ol parametrization.
I tried this:
(% class="dir-tree" %)
* ##/tmp##
(% class="file" %)** ##file1.tmp##
(% class="file" %)** ##file2.tmp##
It renders as a ul with the .dir-tree class, but the li are not
parametrized.
In fact they are not rendered as li, but as a <strong><span
class="file">...
Is it a bug, or the expected result?
Thanks!