You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2010/04/29 17:59:53 UTC

[jira] Created: (TAP5-1121) Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation

Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation
--------------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-1121
                 URL: https://issues.apache.org/jira/browse/TAP5-1121
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Igor Drobiazko


It would be nice to have an annotation, @DiscardAfter, that could be placed on a handler method of page or a component .

public class Login {
  @Persist
  private String username;
  
  @Persist
  private String password;
  
  @DiscardAfter
  void onSuccess() {
     ...
  }
  
  ...
}

A ComponentClassTransformWorker could recognize the methods with such annotations, and call ComponentResources#discardPersistentFieldChanges().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-1121) Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-1121.
--------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1121
>                 URL: https://issues.apache.org/jira/browse/TAP5-1121
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> It would be nice to have an annotation, @DiscardAfter, that could be placed on a handler method of page or a component .
> public class Login {
>   @Persist
>   private String username;
>   
>   @Persist
>   private String password;
>   
>   @DiscardAfter
>   void onSuccess() {
>      ...
>   }
>   
>   ...
> }
> A ComponentClassTransformWorker could recognize the methods with such annotations, and call ComponentResources#discardPersistentFieldChanges().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-1121) Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1121:
------------------------------------

    Assignee: Igor Drobiazko

> Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1121
>                 URL: https://issues.apache.org/jira/browse/TAP5-1121
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>
> It would be nice to have an annotation, @DiscardAfter, that could be placed on a handler method of page or a component .
> public class Login {
>   @Persist
>   private String username;
>   
>   @Persist
>   private String password;
>   
>   @DiscardAfter
>   void onSuccess() {
>      ...
>   }
>   
>   ...
> }
> A ComponentClassTransformWorker could recognize the methods with such annotations, and call ComponentResources#discardPersistentFieldChanges().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-1121) Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1121:
------------------------------------

    Assignee: Igor Drobiazko

> Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1121
>                 URL: https://issues.apache.org/jira/browse/TAP5-1121
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>
> It would be nice to have an annotation, @DiscardAfter, that could be placed on a handler method of page or a component .
> public class Login {
>   @Persist
>   private String username;
>   
>   @Persist
>   private String password;
>   
>   @DiscardAfter
>   void onSuccess() {
>      ...
>   }
>   
>   ...
> }
> A ComponentClassTransformWorker could recognize the methods with such annotations, and call ComponentResources#discardPersistentFieldChanges().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-1121) Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko closed TAP5-1121.
--------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> Provide an annotation to support automatic discarding of the persistent fields after a component or page method invocation
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1121
>                 URL: https://issues.apache.org/jira/browse/TAP5-1121
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> It would be nice to have an annotation, @DiscardAfter, that could be placed on a handler method of page or a component .
> public class Login {
>   @Persist
>   private String username;
>   
>   @Persist
>   private String password;
>   
>   @DiscardAfter
>   void onSuccess() {
>      ...
>   }
>   
>   ...
> }
> A ComponentClassTransformWorker could recognize the methods with such annotations, and call ComponentResources#discardPersistentFieldChanges().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.