Checkout the 'extraParams' parameter of the live table
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HParam…
. I managed to filter the rows (documents) by parent and tag with
this:
#set ($options = {
'className': 'Space.SomeClass',
...
'extraParams': '&parent=Space.Procedure&tag=Server01'
})
Hope this helps,
Marius
On Thu, Sep 18, 2014 at 11:06 PM, Jaume Giribert Peraire
<jaume.giribert(a)gmail.com> wrote:
Hi everyone,
I need to create a livetable for documents having a specific parent and
tag. For example:
Document A -> Has a parent document called "procedure" and
"Server01" tag
Document B -> Has a parent document called "procedure" and
"Server02" tag
Document "Server01" -> Should show a livetable with a filter for
"Parent=procedure and tag=Server01 (same as Doc.name)
Document "Server02" -> Should show a livetable with a filter for
"Parent=procedure and tag=Server02 (same as Doc.name)
I know I can create a new Document macro and filter by "Parent" and
"Space", but I also need to filter by tag. XWQL may help but I need to show
result as a link to the document.
Any guess or example to follow? Any advice will be appreciated!
Thanks!
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users