Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.1, 1.1.2, 1.1.3
-
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
MYFACES-1180 All data after multiple forms is truncated.
- Closed
- is related to
-
MYFACES-335 dataTable values are not properly updated if immediate action is used
- Closed
- relates to
-
TOMAHAWK-961 Deleting a row when t:dataList/t:dataTable preserveRowStates=true assigns submitted values to wrong row
- Closed