[richfaces-issues] [JBoss JIRA] Resolved: (RF-8626) UIDataAdaptor: StateHolder & Serializable interfaces interoperability problem
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Mon May 10 12:00:05 EDT 2010
[ https://jira.jboss.org/jira/browse/RF-8626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-8626.
--------------------------------
Resolution: Done
> 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
More information about the richfaces-issues
mailing list