[xwiki-users] Unable to dynamicaly filter LiveTable on current space
Hello, I'm trying to customize a live table: I want on the webhome of each space to display all pages of that space. I sorted out that ${doc.space} returns the space for the current page, so I've added 'extraParams' : '&space=${doc.space}', in my livetable but it returns no documents. What can be the correct syntaxe to dynamicaly filter page in a livetable for the current Space ? thanks for your help, -- View this message in context: http://xwiki.475771.n2.nabble.com/Unable-to-dynamicaly-filter-LiveTable-on-c... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Feb 18, 2013, at 10:41 PM, xrichard <ldmpub@gmail.com> wrote:
Hello,
I'm trying to customize a live table: I want on the webhome of each space to display all pages of that space.
I sorted out that ${doc.space} returns the space for the current page, so I've added 'extraParams' : '&space=${doc.space}', in my livetable but it returns no documents.
What can be the correct syntaxe to dynamicaly filter page in a livetable for the current Space ?
You could also use the documents macro: http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro Thanks -Vincent
On Mon, Feb 18, 2013 at 11:41 PM, xrichard <ldmpub@gmail.com> wrote:
Hello,
I'm trying to customize a live table: I want on the webhome of each space to display all pages of that space.
I sorted out that ${doc.space} returns the space for the current page, so I've added
'extraParams' : '&space=${doc.space}',
See http://velocity.apache.org/engine/releases/velocity-1.7/user-guide.html#stri... : "However, when the string literal is enclosed in single quote characters, it will not be parsed". Hope this helps, Marius
in my livetable but it returns no documents.
What can be the correct syntaxe to dynamicaly filter page in a livetable for the current Space ?
thanks for your help,
-- View this message in context: http://xwiki.475771.n2.nabble.com/Unable-to-dynamicaly-filter-LiveTable-on-c... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Marius Dumitru Florea -
Vincent Massol -
xrichard