You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gabrielle Crawford (JIRA)" <de...@myfaces.apache.org> on 2010/10/19 02:00:28 UTC

[jira] Commented: (TRINIDAD-1849) subform in table not working

    [ https://issues.apache.org/jira/browse/TRINIDAD-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922369#action_12922369 ] 

Gabrielle Crawford commented on TRINIDAD-1849:
----------------------------------------------

This has broken the behavior of the default attribute, see 
https://issues.apache.org/jira/browse/TRINIDAD-1943

> subform in table not working
> ----------------------------
>
>                 Key: TRINIDAD-1849
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1849
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Gabrielle Crawford
>            Assignee: Gabrielle Crawford
>             Fix For: 2.0.0.3-core
>
>         Attachments: 1849.patch
>
>
> The subform is setting a value on its facesBean to determine if it's the submitted subform.
> See org.apache.myfaces.trinidad.component.UIXSubform.setSubmitted()
> So when the subform is stamped, the value of the last row wins, since that's the final value saved to the facesBean. That means if you submit the last row everything is considered submitted, if you submit from other rows nothing is saved.

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