[xwiki-users] Xwiki.com API stability and Class/Object model
Sergiu Dumitriu
sergiu.dumitriu at gmail.com
Thu Apr 5 23:12:16 CEST 2007
Hi,
A DatabaseList consists of a query that returns the entries in the list.
1. The query is written using HQL (Hibernate Query Language), a SQL-like
language. I can't explain the data model it works with, but you can search
the various pages where it is used (search for documents containing
$xwiki.search or searchDocuments).
2. If it returns one value per result, it will be used as the list entry
value and displayed text. If it returns two or more values per result, the
first part is used as the value, while the second one is used as the
displayed text.
3. You can configure the list, specifying how it is displayed (drop-down,
radio buttons, checkboxes), whether it allows single or multiple selection,
the site of the drop-down, and some other properties.
Hope this helps a bit.
On 4/5/07, Oova <ping.scan at gmail.com> wrote:
>
>
> Anyboy, could you please help me with the below one? Thanks in advance
>
> > - How do I use the property "Database List Class", it seems very
> > powerful in
> > creating dynamic lists of values, references to other objects etc.
> > but I am
> > unable to decipher how to use it.
>
Sergiu
--
http://purl.org/net/sergiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070406/b25e0619/attachment-0001.htm
More information about the users
mailing list