Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-509

t:saveState does not check to see if the value attribute implements StateHolder.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.4-SNAPSHOT
    • 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

          Activity

            People

              mmarinschek Martin Marinschek
              mhughes Matt Hughes
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: