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

        Arran Mccullough created issue -
        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.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case13522Example2.zip [ 20983 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45920 Mon Aug 31 12:47:16 MDT 2015 mircea.toma ICe-10781 Refine 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.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: