Dear all,

I am a bit lost with hql requests.

What I would like to do is find all the objects of Space.MyClass (even 
if there are more than one object on a page).

I tried to play with

#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and 
obj.className='Space.MyClass'")

and then

#foreach ($item in $xwiki.searchDocuments($sql))

to display the results.

But the only thing i can get is the documents.

Is there a searchObjects method or something like that ?

Any hint or solution ?

Jean

-- 
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28 

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

Reply via email to