ICEfaces
  1. ICEfaces
  2. ICE-9802

ace:rowEditor - Add support for reverting user edits when clicking the 'X' button

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      When validation has failed for an input field in the editable dataTable, clicking the revert button should put the invalid input back to its original state. This issue can be reproduced with our showcase app following these steps:
      1) Select the pencil icon in the Options column for the row to edit
      2) Modify the Weight (lbs) column with invalid data and click on checkmark to save, throws Invalid Exception as follows.
      3) Click on the “x” to reject to revert back to original settings.
      4) Click again on the pencil icon of the same row.
      The invalid value is retained which should not be. At this moment the others rows can be edited but not able to save until the above row invalid data is corrected.

      After clicking the revert button the output field shows the original value.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39944 Mon Feb 10 16:22:46 MST 2014 art.zambrano ICE-9802 fixed null pointer exception
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/roweditor/RowEditorRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39907 Thu Feb 06 12:13:54 MST 2014 art.zambrano ICE-9802 added revert inputs functionality to cancel editing action
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/roweditor/RowEditorRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: