[
https://jira.nuxeo.com/browse/NXP-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anahide Tchertchian updated NXP-8010:
-------------------------------------
Affects Version/s: (was: 5.5.x)
5.4.2
Fix Version/s: 5.5
Tags: AT-5.5-tasks
> On a layout widget, overriding a property for a given widgetMode does not
> work if this property is already defined for widgetMode="any"
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NXP-8010
> URL: https://jira.nuxeo.com/browse/NXP-8010
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Layouts / Widgets
> Affects Versions: 5.4.2
> Reporter: Antoine Taillefer
> Assignee: Anahide Tchertchian
> Fix For: 5.5
>
>
> The following code does not work, tested on
> nuxeo-dm-5.5-I20111104_1115-tomcat.
> Indeed, if the widget mode is "view", then the effective value for the "mode"
> property is "edit", and not "view" as we could expect it.
> <widget name="carac_allergenes" type="layout">
> ...
> <properties widgetMode="any">
> <property name="name">carac_allergenes</property>
> <property name="mode">edit</property>
> </properties>
> <properties widgetMode="view">
> <property name="mode">view</property>
> </properties>
> </widget>
> As a workaround, the following code works :
> <widget name="carac_allergenes" type="layout">
> ...
> <properties widgetMode="any">
> <property name="name">carac_allergenes</property>
> </properties>
> <properties widgetMode="view">
> <property name="mode">view</property>
> </properties>
> <properties widgetMode="edit">
> <property name="mode">edit</property>
> </properties>
> </widget>
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets