You can create your own RequestCycle implementation for this. Override
the factory method in (Web)Application to acchieve this.
See the cdapp example (wicket-contrib-examples of Wicket Stuff) for an
example of this (CdAppRequestCycle, CdAppRequestCycle).
Eelco
Christian Essl wrote:
Hi,
I want to bind the current Session to a thread-local for the current
request.
Is there a callback method which indicates a request-start and end.
Looking at the WicketServlet IMO I could use
WebApplication.newWebrequest() and override WebResponse.close().
However this seems a bit hacky. Is there a better way?
Thanks,
Christian
___________________________________________________________ Gesendet
von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden:
http://mail.yahoo.de
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user