Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The JavaDocs for t:saveState say (http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/savestate/UISaveState.html ):
—
The object being saved must either:
- implement java.io.Serializable, or
- implement javax.faces.component.StateHolder and have a default constructor.
However, the component does nothing if the object implements StateHolder. If the object being saved does implement StateHolder and does not implement Serializable, the component should use the StateHolder mechanism of saveState()/restoreState(). This allows the object to determine what properties it actually wants to have saved.
Attachments
Issue Links
- is blocked by
-
TOMAHAWK-738 SaveState fails with a java.util.List implementation other than ArrayList
- Closed