Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1711

DiscardAfter on Component level (DiscardComponentAfter)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • 5.2
    • None
    • tapestry-core

    Description

      The DiscardAfter annotation on a method causes the session context of the whole page to be discarded, even if the annotation is on a method in a component.
      Instead of removing the whole page context it would be helpful to be able to choose to only remove the persistent fields of the component(and its subcomponents) but not from the page (i.e. dialogs).
      Furthermore the according service componentResources.discardPersistentFieldChanges() would be beneficial when being used in the same manner.

      For reference: http://tapestry.1045711.n5.nabble.com/DiscardAfter-on-component-level-td4847998.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt11 Matthias Melitzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: