myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3267) UIComponentBase.saveAttachedState now handles collections instead only lists
Date Fri, 05 Aug 2011 19:19:27 GMT
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


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

        

Mime
View raw message