jan created EMPIREDB-281:
----------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to