ICEfaces
  1. ICEfaces
  2. ICE-10781

Push updates clearing out form values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      All

      Description

      When a form is updated with a push render, the form input field values that are not submitted to the server are cleared out on the render update.

      The dom diff related to the push update is detecting that the client doesn't match the server value and updating it with a blank or null value.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows this issue.

        Steps:

        Show
        Arran Mccullough added a comment - Attached test case that shows this issue. Steps: Load http://localhost:XXXX/Case13522Example2/lftest3.jsf Enter in some text to the input field. Click the Render button, the input field values are cleared out on the push update.
        Hide
        Mircea Toma added a comment - - edited

        Refined DOMPartialViewContext.applyBrowserChanges() method to apply browser changes to oldDOM only for the input elements (or their parents) that are included in the list of 'execute' and 'render' partial submit attributes.

        Show
        Mircea Toma added a comment - - edited Refined DOMPartialViewContext.applyBrowserChanges() method to apply browser changes to oldDOM only for the input elements (or their parents) that are included in the list of 'execute' and 'render' partial submit attributes.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: