[ 
http://jira.nuxeo.org/browse/NXP-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thierry Martins resolved NXP-3483.
----------------------------------

    Resolution: Fixed

The problem is due to the fact that even in view mode, when the component is 
inside a form, the setter is called when submitting the form and the existing 
value was replaced by en empty one.

Now, when calling the setter, I check if we are in view mode for this 
component, i.e. if the displayValueOnly attribute is set to true.

> Submitting a chain select in view mode make loose the display of selected 
> elements
> ----------------------------------------------------------------------------------
>
>                 Key: NXP-3483
>                 URL: http://jira.nuxeo.org/browse/NXP-3483
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.1.6, 5.2 RC
>            Reporter: Thierry Martins
>            Assignee: Thierry Martins
>             Fix For: 5.1.7, 5.2 GA
>
>
> When using a chain select in view mode inside a form (while editing the 
> document for example), selected elements are not displayed anymore when the 
> form is submitted.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
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

Reply via email to