Greetings

I have created a new document type and i want that when the user creates the 
document he can choose from a drop down list of possible values for a certain 
field.

So i created a new vocabulary entry (following the example in the trunk) called 
"book_keywords" with the values the user could choose from.

I was expecting that the widget "selectOneDirectory" would list all the values 
in the directory from the drop down list:

<widget name="etiquetas" type="selectOneDirectory" directory="book_keywords">
        <labels>
          <label mode="any">Etiquetas</label>
        </labels>
        <translated>false</translated>
        <fields>
          <field>bm:etiquetas</field>
        </fields>
        <widgetModes>
          <mode value="create">edit</mode>
          <mode value="any">view</mode>
        </widgetModes>
      </widget>

bm:etiquetas is defined in the schema file like:
<xs:element name="etiquetas" type="xs:string"/>

But all i get is an empty drop down list. Is there something more i should have 
done?

thank you


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to