[EMAIL PROTECTED] wrote:
Hi,
here is now my schema :

  <xs:complexType name="stringItem">
        <xs:sequence>
                <xs:element name="stringItem" type="xs:string" default="?" />
        </xs:sequence>

  </xs:complexType>
  <xs:complexType name="categoryList">
        <xs:sequence>
                <xs:element name="stringItem" type="nds:stringItem"
                        minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
  </xs:complexType>
<xs:element name="categories" type="nds:categoryList" />


here is my widget :
      <widget name="categories" type="list">
        <labels>
          <label mode="any">categories</label>
        </labels>
        <translated>false</translated>
        <fields>
          <field>notedeservice:categories</field>
        </fields>
                <subWidgets>
              <widget name="category" type="text">
                <fields>
                  <field>notedeservice:stringItem</field>
                </fields>
              </widget>
                </subWidgets>
      </widget>



I would say:

<widget name="category" type="text">
 <fields>
   <field>stringItem</field>
 </fields>
</widget>

since the prefix is implied.

/JM


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

Reply via email to