ICEfaces
  1. ICEfaces
  2. ICE-10507

ace:dataTable - Non-submitted row edits updated on stop editing call

    Details

      Description

      If multiple rows are set to be editable and changes are made on the cells, if one row is submitted and row edits are cancelled via the server side, the changed value is updated. The same behavior is not seen with a single row edit, nor does it do this if one row edit hasn't been saved.

      The following steps can be used to reproduce the issue with the Showcase demo:

      Steps:
      1. Click edit for any row.
      2. Click edit for another row.
      3. Change a value in both rows
      4. Submit just one row over the little blue checkmark
      5. Now you have one row in edit modus with a changed value. Click on the button "Stop Editing For All"
      6. Editing is stopped but the changed value is submited.

      If you do these steps with one edited row there are no changed valus submited.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48613 Tue Apr 05 15:49:06 MDT 2016 art.zambrano ICE-10793 modified the fix for ICE-10507 to support child rows and to avoid having to alter the table's row index to obtain the editSubmit parameter
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditor.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44228 Tue Mar 17 09:01:14 MDT 2015 jack.van.ooststroom Fixed JIRA ICE-10507 : Non-submitted row edits updated on stop editing call; Fixed compilation error
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/ace/documentationResources/CloudPushResources.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44224 Mon Mar 16 15:46:03 MDT 2015 art.zambrano ICE-10507 changes h:* components for ace:* components, where applicable; fix for issue with buttons not appearing after entering e-mail; added wiki resource
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/cloudPush/cloudPushOverview.xhtml
        Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/ace/documentationResources/CloudPushResources.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44222 Mon Mar 16 14:48:36 MDT 2015 art.zambrano ICE-10507 removed unused variable
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44221 Mon Mar 16 14:44:01 MDT 2015 art.zambrano ICE-10507 modified previous fix to allow cell editor contents to be executed when used in non-typical ways
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditor.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditorRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableMeta.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44102 Mon Feb 23 14:24:57 MST 2015 art.zambrano ICE-10507 fix to avoid processing decodes for ace:cellEditor children when the source of the request isn't the save edits button; also, implemented mechanism to remove name attributes from input fields inside cell editors, in order to avoid entered input from being erased by domdiff, when the request isn't initiated by the corresponding save edits button
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditor.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/celleditor/CellEditorRenderer.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: