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

        

Reply via email to