shivshan wrote:
> Hi
> As a workaround, is there a query that i can run dynamically to get the list
> of groups? I would like to have a pull down list from where the group can be
> selected.
> Thanks
> Shiva
> 

For $xwiki.searchDocuments:

, BaseObject obj where doc.name <> XWikiGroupTemplate and obj.name = 
doc.fullName and obj.className = 'XWiki.XWikiGroups' order by doc.fullName

Full query:

select distinct doc.fullName from XWikiDocument doc, BaseObject obj 
where doc.name <> XWikiGroupTemplate and obj.name = doc.fullName and 
obj.className = 'XWiki.XWikiGroups' order by doc.fullName

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to