It seems what I need,
though I couldn't find working templates for back-end macros.
>From pages
http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiGridComponentTutorial
http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable

I got GridExtensionResultMacros and LiveTableResultsMacros, though
neither  worked for me.

Where can I get necessary macros, to get it working?
(I use xwiki 2.1.1.25889)

Valdis


> If I understand the question correctly, the solution is to insert your 
> own FROM and WHERE info in the search query, as follows:
> 
> ...
> #gridresultwithfilter("" $request.collist.split(",") ", StringProperty 
> examplename" "and examplename.id.id=obj.id and 
> examplename.name='examplename' and doc.space='Tutorials' and 
> doc.name<>'WebHome' and doc.name<>'WebPreferences'")
> ...
> 
> The last 2 parameters are the ones you're looking for. Be sure to add 
> the initial comma in the FROM parameter and the initial "and" in the 
> WHERE parameter.
> 
> See this page for more info (though I think it needs to be expanded with 
> a more exhaustive list of queryable object fields):
> 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
> 
> -Joshua
> 
> Valdis Vītoliņš wrote:
> > What is syntax to add filtering criteria for livetable macro?
> > http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable
> > 
> > It seems there should be possibility to add something for $options = ...
> > part.
> > 
> > Thanks,
> > Valdis
> > 
> > 
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users


_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to