Hi,

For your information, this is fixed on 5.1 and 5.2 and will be available in the next release.

Regards,

--
Anahide Tchertchian, Nuxeo
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org


Anahide Tchertchian a écrit :
Hi,

[EMAIL PROTECTED] a écrit :
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.

This should work, it's a bug. I entered http://jira.nuxeo.org/browse/NXP-2317 for it.

Thanks for the report,



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

Reply via email to