Hi,
First, you need to define the needed directories and create the sql script to 
initialize it

Then you can use one of the components selectOneListbox, selectManyListbox or 
chainSelect, depending on what you want to do:
- selectOneListbox allows the user to select one item from a list
- selectManyListbox allows to select many items from a list
- chainSelect allows for both single and multiple cascading selections.

You can find examples of selectOne/Many listboxes here:
https://svn.nuxeo.org/nuxeo/org.nuxeo.ecm.platform/trunk/nuxeo-platform-webapp/src/main/resources/nuxeo.war/create_user.xhtml

For chainSelect, you can find an example here:
https://svn.nuxeo.org/nuxeo/org.nuxeo.ecm.platform/trunk/nuxeo-platform-webapp/src/main/resources/nuxeo.war/incl/tabs/document_metadata_edit.xhtml

If you have specific questions, please ask.


PS. At the moment, I suspect there are some problems with chainSelect - value not saved upon form submission. I'm not sure what causes it, I will investigate in the coming days.


[EMAIL PROTECTED] wrote:

Hello,

I am working on new document types and I want to add some combo boxes or
multiselectionlist in the document.
I tried to do this but with no results, I think the problem is coming from the
need of a dictionary for each multiselection list.
But when I add a widget in the new document type I cannot define a dictionary
for the multiselectionlist...

So I ask to know how to define well a multiselectionlist in a new document type.

Thank you.

Damien



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to