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, -- Anahide Tchertchian, Nuxeo Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87 http://www.nuxeo.com - http://www.nuxeo.org _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
