Peter,
I implemented my own RequestCycle and that did the trick.
Thanks
Andreas
> -----Original Message-----
> From: Major Péter [mailto:[email protected]]
> Sent: Sunday, February 14, 2010 2:00 PM
> To: [email protected]
> Subject: Re: setPageExpiredErrorPage only for certain pages?
>
> My guess would be to override RequestCycle#onRuntimeException and do
> your logic there if the exception is PageExpiredException.
>
> Regards,
> Peter
>
> 2010-02-14 13:54 keltezéssel, Andreas Lüdtke írta:
> > In my WebApplication class I use setPageExpiredErrorPage().
> So far, so good.
> > But this happens also for the main/home page that everybody
> can access. I
> > would like to redirect only the pages where a user has to
> login, not for the
> > home page. If the homepage expires, a simple redirect to a
> new session with
> > that page should be made.
> >
> > Is this possible with wicket?
> >
> > Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]