[ 
https://issues.apache.org/jira/browse/EMPIREDB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rainer Döbele resolved EMPIREDB-281.
------------------------------------
    Fix Version/s: empire-db-2.5.0
       Resolution: Fixed

> SelectInputControl: Problem with updating options
> -------------------------------------------------
>
>                 Key: EMPIREDB-281
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-281
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: JSF2 Extensions
>    Affects Versions: empire-db-2.4.7
>            Reporter: Jan Glaubitz
>            Priority: Minor
>             Fix For: empire-db-2.5.0
>
>
> When you update the options for a column in a record (e. g. in an ajax call) 
> the option in the SelectInputControl won't be updated, if the value is the 
> same. So the options description is kept forever.
> A fix may be to change line 192 to
> {code:java}
> if (ObjectUtils.compareEqual(ov, oe.getValue()) && 
> ObjectUtils.compareEqual(si.getItemLabel(), oe.getText()))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to