[
http://www.stripesframework.org/jira/browse/STS-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11186#action_11186
]
Christian Poitras commented on STS-429:
---------------------------------------
To optimize session usage, I added a remove attribute to @Session. When some
events are tagged as "remove" for the field, the field will be removed from
session.
Example :
@Session(remove="complete")
public Person person;
If "complete" event succeed without errors, person will be remove from session.
It is possible to specify many events.
It is also possible to specify event using ! :
@Session(remove={"!create", "!read"})
public Person person;
On any event except create and read, person will be removed from session.
Vadim, does that correspond to what you wanted when you explained the webflow
problem?
> @Session annotation to save and restore fields automatically
> ------------------------------------------------------------
>
> Key: STS-429
> URL: http://www.stripesframework.org/jira/browse/STS-429
> Project: Stripes
> Issue Type: New Feature
> Reporter: Christian Poitras
> Priority: Minor
> Attachments: session-plugin.jar, session-plugin2.jar,
> session-plugin3.jar, session-plugin4.jar, session-plugin5.jar
>
>
> I've added a @Session annotation and an interceptor that automatically saves
> annotated fields in session and restores the fields on following request.
> This could be a great add-on to Stripes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development