OK, I found an example of this but it's not really clear how the pieces fit
together.
ArticleClass has a property called Category which is basically what I am
looking to do. This is the HQL query for that property:
select prop.value from BaseObject as obj, StringProperty as prop where
obj.className='Blog.Categories' and obj.name = 'Blog.Categories' and
prop.id.id = obj.id and prop.id.name='name'
The problem is I don't see a class called Blog.Categories. There is a class
called Categories, how does Blog.Categories relate? Also, what is
StringProperty (I see Property in the API docs)? The references to
prop.id.id and prop.id.name don't really make much sense either but maybe
once I know where StringProperty comes from they will.
Thanks!
.:. Kevin
--
View this message in context:
http://n2.nabble.com/Custom-class-field-as-field-on-a-different-class-tp215…
Sent from the XWiki- Users mailing list archive at
Nabble.com.