Hello,

Suppose you have the following schema.

<xs:schema ...>
<xs:complexType name="i18nstring">
<xs:sequence>
<xs:element name="en" type="xs:string" />
<xs:element name="nl" type="xs:string" />
<xs:element name="fr" type="xs:string" />
<xs:element name="de" type="xs:string" />
</xs:sequence>
</xs:complexType>

<xs:element name="url" type="banner:i18nstring"/>
</xs:schema>

How are you supposed to retrieve the 'en', 'fr', ... fields from within a 
widget definition.

<field>banner:url/en</field> does not seem to work in the following definition.

<widget name="url" type="text">
        <labels>
          <label mode="any">Url</label>
        </labels>
        <translated>false</translated>
        <fields>
          <field>banner:url/en</field>
        </fields>
</widget>

Thanks.

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

Reply via email to