i have not used 1.4 in a long time .. you can still do all the same thing in your requestcyle#onruntimeexception(*) in 1.4,also you can get the query parameters from requestcyle#getrequest() .
On Thu, May 17, 2012 at 3:02 AM, Dale Ogilvie <[email protected]> wrote: > Thanks for your suggestion. I forgot to mention our app is wicket 1.4. I > could not find the code below for RequestCycleListener. WebApplication > does not have a collection of RequestCycleListeners per 1.5, as far as I > could see. > > Basically our app has "branding" based on a url parameter passed to each > page. The session expiry page does not receive this parameter. Ideally > we want to brand the expiry page, to do this we need the parameters from > the "expired" page. > > Any more pointers? > >> -----Original Message----- >> From: vineet semwal [mailto:[email protected]] >> Sent: Tuesday, 15 May 2012 6:44 p.m. >> To: [email protected] >> Subject: Re: Passing query string data from an expired page to the > expiry >> page >> >> you can create a requestcyclelistener which on exception checks if > it's a >> pageexpiredexception if it's you can get client url or > requestparameters there >> from the request which you can pass to your errorpage ,just create an >> appropriate pagerquesthandler at that time . > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- thank you, regards, Vineet Semwal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
