I will try it:

I have a schema like that:

<xs:element name="name" type="xs:string" />
<xs:element name="email" type="xs:string" />
<xs:element name="department" type="xs:string" />

Now, I want a faceted search which lets me to search for
department, but with a combobox which lets me select one of
the existing departments. I can define a directory
'''departments''' and then a widget like that:

<widget name="department" type="selectManyDirectory">
                      <labels>
                        <label
mode="any">Department</label>
                      </labels>
                      <fields>
                        <field>fsd:department</field>
                      </fields>
                      <properties widgetMode="any">
                        <property
name="directoryName">departments</property>
                        <property
name="localize">true</property>
                      </properties>
                      <properties widgetMode="edit">
                        <property
name="wrapperMode">row</property>
                      </properties>
                    </widget>


But, AFAIK, I can't do this directory dynamic. I mean with
dynamic: If I add a new department, the widget will show me
all the departments including the last one.

Thanks in advance for your tips :) !
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to