[
http://www.stripesframework.org/jira/browse/STS-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Poitras updated STS-429:
----------------------------------
Attachment: session-plugin-6.zip
This update of annotation and interceptor contains suggestions from Vadim, John
and Gregg.
Changes made from version 5.
1) Serializable attribute is true by default. When true, interceptor will check
if field implements serializable interface. If so, field will be stored using
only maxTime. If field does not implement serializable, field will be stored in
the same way as @Session(serializable=false) would.
2) A new ant build is used. This is why this file is in a zip format instead of
a jar one. The jar and source code is included in the zip file in the same
directories that stripes distribution files does. Tim, I'm sorry I highjacked
your build.xml files and I hope you will forgive me because I make my code
available to all stripes users.
Thanks to all how helped me improve this interceptor.
> @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-6.zip, 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