Yes, your users are in the main wiki. In DBListClass you cannot query the global wiki. You will need to write a customer displayer script and declare it in your class An example of customer displayer is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Multiselect+custom+disp... Your custom displayer will need to query the main wiki using a specific search API (in the XWiki object) which allows to set the wiki to query. Ludovic 2012/6/4 <[email protected]>:
Hello everybody,
Here is my problem : I'm in a workspace. I've created a class with a database list field. I've written the HQL query : -> select obj.name from BaseObject obj where obj.className='XWiki.XWikiUsers' And when i'm in edit mode, the suggest says me : "no results !" when i'm writing a username.
I wonder if this problem is related to the difference between local users (= workspace users ?) and global users (= wiki users ?).
Thanks for your attention
M.Canzerini
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost