On Tue, Jan 13, 2009 at 8:22 PM, Kevin_C <kevin.cummings(a)cpa.state.tx.us> wrote:
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
The class name is the full name of the document where it is stored, so
here it's located in Blog/Categories and will be called
Blog.Categories where you are using it. The class name always contains
a Space.Something since you can't have a document without storing it
in a space.
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.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne