You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Matthias Melitzer (Created) (JIRA)" <ji...@apache.org> on 2011/10/20 17:31:10 UTC

[jira] [Created] (TAP5-1711) DiscardAfter on Component level (DiscardComponentAfter)

DiscardAfter on Component level (DiscardComponentAfter)
-------------------------------------------------------

                 Key: TAP5-1711
                 URL: https://issues.apache.org/jira/browse/TAP5-1711
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.2.5
            Reporter: Matthias Melitzer
            Priority: Trivial


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira