[ http://mc4j.org/jira/browse/STS-429?page=all ]
Christian Poitras updated STS-429:
----------------------------------
Attachment: session-plugin2.jar
This new jar contains 3 updates on interceptor.
1- Primitives are handles correctly.
2- When no resolution is returned, old interceptor didn't work.
LifecycleStage.EventHandling is intercepted instead of
LifecycleStage.ResolutionExecution to correct this bug.
3- When a validation error occurs, values in session are no updated.
I haven't tested what happens when maxTime and serializable are used at the
same time. Since they work individually, they should also work together.
Without a web container, it seems impossible to predict what will happen if a
session is serialized and maxTime is reached when session is on disk.
Is it possible to tell me the expected behavior of a web container in this
specific case so I can add an appropriate test?
> @Session annotation to save and restore fields automatically
> ------------------------------------------------------------
>
> Key: STS-429
> URL: http://mc4j.org/jira/browse/STS-429
> Project: Stripes
> Issue Type: New Feature
> Reporter: Christian Poitras
> Assigned To: Tim Fennell
> Priority: Minor
> Attachments: session-plugin.jar, session-plugin2.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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development