Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1977

Tapestry should support keeping a page field in serialized form instead of holding a reference to

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 5.0.6
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None

      Description

      This would be really useful in CRUD application where you want to edit an object instance that is a persistent page property. The problem with the current solution is that Tapestry always holds the reference to the object, so when Tapestry resets to the default value it's actually assigning the reference of the changed object. This means that the actually resetting has to be done by the application code.

      Maybe this could be a new parameter of the Persist annotation indicating if you want to persist as a reference or in a serialized form.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                hpalma Hugo Palma
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: