ICEfaces
  1. ICEfaces
  2. ICE-10157

ice:inputText - Field not updated when value has changed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-3.3.0.GA_P03
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      In this scenario an ice:inputText component is used in an ice:panelPopup. This popup is opened to edit values in an ice:dataTable. When an Edit button is clicked it opens the popup with the values of the row. The issue is that once the popup is opened and closed and another button is clicked, the input field in the popup shows the previous row.

      If I switch the ice:inputText to an h:inputText, this is no longer an issue.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case code and war. Note: the icefaces-ee.jar, icefaces-ee-compat.jar and icefaces-ee-ace.jar file needs to be added into the war for it to run.

        Steps:

        • Load welcomeICEfaces.jsf
        • Click on an edit button for a row, popup is displayed.
        • Close the popup.
        • Click another edit button for a different row, popup shows the previous popups value in the input field.
        Show
        Arran Mccullough added a comment - Attached test case code and war. Note: the icefaces-ee.jar, icefaces-ee-compat.jar and icefaces-ee-ace.jar file needs to be added into the war for it to run. Steps: Load welcomeICEfaces.jsf Click on an edit button for a row, popup is displayed. Close the popup. Click another edit button for a different row, popup shows the previous popups value in the input field.
        Hide
        Mircea Toma added a comment -

        Modified inputText components to not store/restore the submitted value since the value needs to be set only during the request is processed (and be carried to the next requests).

        Show
        Mircea Toma added a comment - Modified inputText components to not store/restore the submitted value since the value needs to be set only during the request is processed (and be carried to the next requests).
        Hide
        Liana Munroe added a comment -

        Verified Icefaces ee-maintenance branch r42094, using test case provided, Tomcat 7, all browsers, however the following warning was seen in server log:
        Aug 13, 2014 9:57:39 AM com.sun.faces.context.SessionMap put
        WARNING: JSF1063: WARNING! Setting non-serializable attribute value into HttpSession (key: T1, value class: com.icesoft.support.T1Bean).

        Show
        Liana Munroe added a comment - Verified Icefaces ee-maintenance branch r42094, using test case provided, Tomcat 7, all browsers, however the following warning was seen in server log: Aug 13, 2014 9:57:39 AM com.sun.faces.context.SessionMap put WARNING: JSF1063: WARNING! Setting non-serializable attribute value into HttpSession (key: T1, value class: com.icesoft.support.T1Bean).

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: