UIDataAdaptor: StateHolder & Serializable interfaces interoperability problem
-----------------------------------------------------------------------------

                 Key: RF-8626
                 URL: https://jira.jboss.org/jira/browse/RF-8626
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.0.0.ALPHA2
            Reporter: Nick Belaevski
            Assignee: Nick Belaevski
             Fix For: 4.0.0.ALPHA2


There's special org.richfaces.component.DataAdaptorStateHelper class that 
handle UIDataAdaptor state. However if subclass implements 
getIterationState(...) method as follows:

    @Override
    public Object getIterationState(FacesContext context) {
        Object [] state = new Object[2];
        state[0] = super.getIterationState(context);
        state[1] = getStateHelper().get(PropertyKeys.expanded); 
        return state;
    }

and nesting of UIDataAdaptor occurs, then DataAdaptorStateHelper is handled as 
Serializable, and not as StateHolder 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to