[opencms-dev] Locale macro in XSD schema
Rüdiger Kurz
r.kurz at alkacon.com
Fri Feb 15 14:39:52 CET 2013
sorry not quiet sure if this works inside the XSD, but inside the
content editor you can use it.
Am 15.02.2013 14:37, schrieb Rüdiger Kurz:
> yes, %(request.locale)
>
> Am 15.02.2013 14:27, schrieb Arturo Martín Lladó:
>> Hi, list.
>>
>> Is there available any locale macro for using it in XSD schemas?
>>
>> I'd like to do something like this:
>>
>> <layouts>
>> [...]
>> <layout element="Categoria" widget="CategoryWidget"
>> configuration="category=/_categories/__LOCALE_MACRO___/tipoDocumento/|onlyleafs=true"/>
>>
>> </layouts>
>>
>> This is because our categories tree is organized this way:
>> /sites/default/_categories/__LOCALE__/...
>>
>> Kind regards.
>>
>
--
Kind Regards,
Rüdiger.
-------------------
Rüdiger Kurz
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
More information about the opencms-dev
mailing list