You can extend RequestCycle and do that in onEndRequest. To use custom request cycle class override Application.newRequestCycle(final Request request, final Response response);
-Matej On 8/28/07, Huergo Perez <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have a user context stored in a Wicket session with all required user > information (username, roles, etc. -- put in the session upon user log > in). I need to make the user context available to my business layer via > a thread-local variable. That is, I need to put it in a thread-local > variable in the very beginning of the request, and clean it up just > before the request has finished. > > In a pure servlet environment I would do that in a filter. In Spring MVC > I would do that in a handler interceptor. > > What is the best way to do that in Wicket? > > Thanks in advance! > Huergo > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
