You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2007/04/11 18:40:33 UTC

[jira] Commented: (MYFACES-1109) UIInputs in DataTable (UIData) lose submitted values when UICommands are set to immediate=true

    [ https://issues.apache.org/jira/browse/MYFACES-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488114 ] 

Mike Kienenberger commented on MYFACES-1109:
--------------------------------------------

I just tested this with subForm and t:dataTable.   I wasn't able to get it to work.  subForms still cause the data to be lost.


> UIInputs in DataTable (UIData) lose submitted values when UICommands are set to immediate=true
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1109
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1109
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General, JSR-252
>    Affects Versions: 1.1.0, 1.1.1, 1.1.2-SNAPSHOT, 1.1.2, 1.1.3
>            Reporter: David Green
>         Attachments: FaceletsTestExampleByMikeKienenberger.zip, TestExampleByDavidGreen.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.