Hi all,
I'm curious about the correct usage of the property type "DatabaseList".
Can
anyone explain it to me, or -even better- point me to an example?
I know that there was already a previous post
http://www.nabble.com/Xwiki.com-API-stability-and-Class-Object-model-tf3524…
by Sergiu, but unfortunately this still leaves me pretty much in the dark...
I understand that the "Hibernate Query" is an HQL statement. Can this be the
identical statement that I would use in a call to $xwiki.search() or
searchDocuments(), or is there anything special to consider? Can the HQL
query refer to any objects/documents in the DB, or are there any
limitations?
What is the meaning of "XWiki Class Name", "Id Field Name", and
"Value Field
Name" in the property editor?
My understanding is that the HQL query is evaluated dynamically when
accessing the value of this property. Is this true? How does this fit to the
"Display type" that obviously determines how the user can edit this
property? Or is the HQL query only used to determine the possible values of
this property, but the user still selects the actualvalue?
Thanks in advance,
Ute
--
View this message in context:
http://www.nabble.com/Usage-of-DatabaseList-property-type-tf3902538.html#a1…
Sent from the XWiki- Users mailing list archive at
Nabble.com.