MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-1568

UIInputs in DataTable (UIData) lose submitted values when UICommands are set to immediate=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 1.1.2, 1.1.3
    • Fix Version/s: 1.1.11
    • Component/s: Extended Datatable
    • Labels:
      None

      Description

      Similar to MYFACES-335, DataTable values do not reflect a form submission is an action is performed with immediate=true

      Perform the following actions:

      Failure Scenario:
      1. load the page in your browser Test.jsp
      2. Press the "Add" button once to add a row to the data table.
      3. Enter some data in the text field in the added row.
      4. Press "Add" again to add a second row to the data table.
      5. Notice that the rendered page now has two rows in the data table, however text entered into the text field in the first row is now lost.

      Success Scenario:
      1. Repeat steps 1 to 4 of the failure scenario (above).
      2. Now press "Delete" on the second row in the data table.
      3. Notice that the rendered page now has only one row and it is containing text entered in step 3 as expected.

      This test confirms that data tables work as expected when immediate=true is not used, but that data tables fail to work as expected when immediate=true is used.

      1. TestExampleByDavidGreen.zip
        7 kB
        Mike Kienenberger
      2. FaceletsTestExampleByMikeKienenberger.zip
        2 kB
        Mike Kienenberger

        Issue Links

          Activity

          David Green created issue -
          David Green made changes -
          Field Original Value New Value
          Attachment Test.jsp [ 12322838 ]
          David Green made changes -
          Attachment FacesUtil.java [ 12322839 ]
          David Green made changes -
          Attachment Test.java [ 12322840 ]
          David Green made changes -
          Attachment TestRow.java [ 12322841 ]
          David Green made changes -
          Attachment TestBean.java [ 12322842 ]
          sean schofield made changes -
          Workflow jira [ 12346904 ] MyFaces Workflow [ 12347685 ]
          sean schofield made changes -
          Workflow MyFaces Workflow [ 12347685 ] MyFaces Workflow2 [ 12349108 ]
          sean schofield made changes -
          Workflow MyFaces Workflow [ 12347685 ] MyFaces Workflow2 [ 12349147 ]
          sean schofield made changes -
          Workflow MyFaces Workflow [ 12347685 ] MyFaces Workflow2 [ 12349219 ]
          made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mike Kienenberger made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          sean schofield made changes -
          Workflow MyFaces Workflow2 [ 12349219 ] MyFaces Workflow [ 12353671 ]
          sean schofield made changes -
          Workflow MyFaces Workflow [ 12353671 ] MyFaces Workflow2 [ 12355242 ]
          sean schofield made changes -
          Workflow MyFaces Workflow2 [ 12355242 ]  MyFaces Workflow [ 12356695 ]
          sean schofield made changes -
          Workflow  MyFaces Workflow [ 12356695 ] MyFaces Workflow2 [ 12360685 ]
          Mike Kienenberger made changes -
          Summary DataTable values do not reflect a form submission is an action is performed with immediate=true UIInputs in DataTable (UIData) lose submitted values when UICommands are set to immediate=true
          Mike Kienenberger made changes -
          Affects Version/s 1.1.3 [ 12311042 ]
          Affects Version/s 1.1.2 [ 12310960 ]
          Affects Version/s 1.1.1 [ 12310262 ]
          Mike Kienenberger made changes -
          Attachment TestExampleByDavidGreen.zip [ 12336611 ]
          Mike Kienenberger made changes -
          Attachment FacesUtil.java [ 12322839 ]
          Mike Kienenberger made changes -
          Attachment Test.java [ 12322840 ]
          Mike Kienenberger made changes -
          Attachment Test.jsp [ 12322838 ]
          Mike Kienenberger made changes -
          Attachment TestBean.java [ 12322842 ]
          Mike Kienenberger made changes -
          Attachment TestRow.java [ 12322841 ]
          Mike Kienenberger made changes -
          Mike Kienenberger made changes -
          Component/s JSR-252 [ 12310871 ]
          Mathias Broekelmann made changes -
          Link This issue is related to MYFACES-335 [ MYFACES-335 ]
          Mike Kienenberger made changes -
          Link This issue relates to TOMAHAWK-961 [ TOMAHAWK-961 ]
          Leonardo Uribe made changes -
          Project MyFaces Core [ 10600 ] MyFaces Tomahawk [ 12310272 ]
          Key MYFACES-1109 TOMAHAWK-1568
          Affects Version/s 1.1.3 [ 12311951 ]
          Affects Version/s 1.1.2 [ 12311050 ]
          Affects Version/s 1.1.1 [ 12310821 ]
          Affects Version/s 1.1.0 [ 11074 ]
          Affects Version/s 1.1.1 [ 12310262 ]
          Affects Version/s 1.1.2-SNAPSHOT [ 12310660 ]
          Affects Version/s 1.1.2 [ 12310960 ]
          Affects Version/s 1.1.3 [ 12311042 ]
          Component/s Extended Datatable [ 12310761 ]
          Component/s General [ 12310160 ]
          Component/s JSR-252 [ 12310871 ]
          Leonardo Uribe made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Leonardo Uribe [ lu4242 ]
          Fix Version/s 1.1.11-SNAPSHOT [ 12315372 ]
          Resolution Fixed [ 1 ]
          Leonardo Uribe made changes -
          Link This issue is duplicated by MYFACES-1180 [ MYFACES-1180 ]
          Leonardo Uribe made changes -
          Fix Version/s 1.1.11 [ 12316480 ]
          Fix Version/s 1.1.11-SNAPSHOT [ 12315372 ]
          Leonardo Uribe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              David Green
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development