Re: [xwiki-users] Order by property of a class

2008-05-25 Thread Mike Oliver
Ok maybe I need a new set of eyes, but the following works and returns all the toolbar documents... #set ($hql = , BaseObject as obj, StringProperty prop where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate' and obj.id=prop.id.id) The

Re: [xwiki-users] Order by property of a class

2008-05-25 Thread Mike Oliver
Oh and BTW I did try NumberProperty which isn't mapped and BaseProperty which didn't execute. I also searched for and didn't find a list of the Property Types in the Documentation. Mike Oliver wrote: Ok maybe I need a new set of eyes, but the following works and returns all the toolbar

Re: [xwiki-users] Order by property of a class

2008-05-25 Thread Mike Oliver
I didn't find the documentation, but I did experiment and LongProperty does work, and looking at the Class I created the Number property does have an attribute type of number long...doe. Mike Oliver wrote: Oh and BTW I did try NumberProperty which isn't mapped and BaseProperty which didn't