You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/08/06 01:36:26 UTC

[jira] [Resolved] (MYFACES-3267) UIComponentBase.saveAttachedState now handles collections instead only lists

     [ https://issues.apache.org/jira/browse/MYFACES-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3267.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8

> UIComponentBase.saveAttachedState now handles collections instead only lists
> ----------------------------------------------------------------------------
>
>                 Key: MYFACES-3267
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3267
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.8, 2.1.2
>
>
> Since JSF 2.0, the javadoc of UIComponentBase.saveAttachedState says this:
> "... This method supports saving attached objects of the following type: Objects, null values, and Collections of these objects. If any contained objects are not Collections and do not implement StateHolder, they must have zero-argument public constructors. The exact structure of the returned object is undefined and opaque, but will be serializable. ..."
> In JSF 1.2 Lists instead Collections are handled. It is a small change, because usually StateHolder is implemented to deal with special cases.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira