class SessionExpiredLoginPage extends LoginPage() { SessionExpiredLoginPage() { super(); info(xxxxxx) } }
On Wed, Jun 4, 2008 at 6:25 PM, Patel, Sanjay <[EMAIL PROTECTED]> wrote: > I want to pass some param so I can know in LoginPage that it is called > because of session expired and I can show appropriate message (e.g your > session is expired, please login again.) > > -----Original Message----- > From: Johan Compagner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2008 12:11 PM > To: users@wicket.apache.org > Subject: Re: how to pass parameters while setting page expired error > page > > What param is that? What info do you want to pass in? > > > > On 6/4/08, Patel, Sanjay <[EMAIL PROTECTED]> wrote: > > I want to redirect to LoginPage if session expires and want to show > > message that "your session expired, please login again." > > Is there any way that I can pass parameters to LoginPage ?? > > > > getApplicationSettings().setPageExpiredErrorPage(LoginPage.class); > > > > Thanks, > > Sanjay. > > > > > > --------------------------------------------------------------------- > > 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] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >