Re: AW: signout and redirect

2010-03-25 Thread fachhoch
gt;> >>>>> throw new RestartResponseException(HomePage.class). >>>>> >>>>>   This makes the home page be processed (and the url in the navigation >>>>> bar remains /your_home_page_url). >>>>> >>>>> Here

Re: AW: signout and redirect

2010-03-25 Thread James Carman
;>> >>>>     public LogOutPage() { >>>>         AuthenticatedWebSession.get().signOut(); >>>>         setRedirect(true); >>>>         throw new RestartResponseException(HomePage.class); >>>>     } >>>> } >>>> &g

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
SignOutPage.class)  it did not >>>> worked , >>>> so used the new approach , >>>> >>>> regarding what my  SSISignOutPage it does nothing except for showing a >>>> link >>>> ,  before to that the control never goes to the page c

Re: AW: signout and redirect

2010-03-25 Thread James Carman
map and  its possible that it cannot find the page >>> SSISignOutPage >>> and for that reason do I get pageExpired error ? >>> >>> >>> >>> >>> christian.giambalvo wrote: >>>> >>>> Depends on what y

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
s does. >>> But why don't use setResponsePage(SSISignOutPage.class) ?? >>> >>> -Ursprüngliche Nachricht- >>> Von: tubin gen [mailto:fachh...@gmail.com] >>> Gesendet: Donnerstag, 25. März 2010 12:59 >>> An: users >>> Betreff: sig

Re: AW: AW: signout and redirect

2010-03-25 Thread fachhoch
onnerstag, 25. März 2010 15:19 > An: users@wicket.apache.org > Betreff: Re: AW: signout and redirect > > > I initially tried etResponsePage(SSISignOutPage.class) it did not > worked , > so used the new approach , > > regarding what my SSISignOutPage it does nothing

Re: AW: signout and redirect

2010-03-25 Thread Mauro Ciancio
istian.giambalvo wrote: >> >> Depends on what your SSISignOutPage.class does. >> But why don't use setResponsePage(SSISignOutPage.class) ?? >> >> -Ursprüngliche Nachricht- >> Von: tubin gen [mailto:fachh...@gmail.com] >> Gesendet: Donnerstag, 25. Mä

AW: AW: signout and redirect

2010-03-25 Thread Giambalvo, Christian
etResponsePage(SSISignOutPage.class) ?? > > -Ursprüngliche Nachricht- > Von: tubin gen [mailto:fachh...@gmail.com] > Gesendet: Donnerstag, 25. März 2010 12:59 > An: users > Betreff: signout and redirect > > here is my code to signout link. > > add(new Link(&

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
nOutPage.class) ?? > > -Ursprüngliche Nachricht- > Von: tubin gen [mailto:fachh...@gmail.com] > Gesendet: Donnerstag, 25. März 2010 12:59 > An: users > Betreff: signout and redirect > > here is my code to signout link. > > add(new Link(&

AW: signout and redirect

2010-03-25 Thread Giambalvo, Christian
Depends on what your SSISignOutPage.class does. But why don't use setResponsePage(SSISignOutPage.class) ?? -Ursprüngliche Nachricht- Von: tubin gen [mailto:fachh...@gmail.com] Gesendet: Donnerstag, 25. März 2010 12:59 An: users Betreff: signout and redirect here is my code to si

signout and redirect

2010-03-25 Thread tubin gen
here is my code to signout link. add(new Link("signout"){ @Override public void onClick() { ((AuditWebSession)(Session.get())).signout(); throw new RestartResponseException(SSISignOutPage.class); } }); when user clicks on signout I expect to go to SSISignOutPage. but I end up with a different pa