Hi Bob,

Depends on what you mean by collection. If you mean a Java Collection of 
elements that holds your custom options, I think you need to extend 
info.magnolia.cms.gui.dialog.DialogSelect to access them.

However, any "collection" of content nodes can become your option set. You can 
do this with the default model class and little configuration. For example:

Contacts in data workspace
[code]
+ contactPerson
    - controlType=select
    - label=Contact persons
    - repository=data
    - path=/contacts
    - labelNodeData=givenName
    - valueNodeData=name
[/code]

Opener images in dms workspace
[code]
+ openerImage
    - controlType=select
    - label=Opener image
    - repository=dms
    - path=/demo-project/img/opener
    - labelNodeData=subject
    - valueNodeData=jcr:uuid
[/code]

DialogSelect Javadoc
http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.4.4/apidocs/info/magnolia/cms/gui/dialog/DialogSelect.html

DialogSelect code
http://svn.magnolia-cms.com/view/community/magnolia/trunk/magnolia-gui/src/main/java/info/magnolia/cms/gui/dialog/DialogSelect.java

Controls reference
http://documentation.magnolia-cms.com/reference/controls.html#radiocheckboxandselect

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=3873289c-ece6-4c22-9e6c-8fe9106f2aef


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to