no it is not.
christian.giambalvo wrote:
>
> setResponsePage(SSISignOutPage.class) creates a new page that will go into
> pagemap.
> Is your Page class in a protected area?
>
> -Ursprüngliche Nachricht-
> Von: fachhoch [mailto:fachh...@gmail.com]
> Gesendet: Donnerstag, 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 except for showing a
> link
> , before to that the control never goes to the page constructor ,
>
> I am assuming after a session is invalidated wicket removes all its pages
> from page 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 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 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 page which is set in applicationsettings
>>
>> IApplicationSettings settings= super.getApplicationSettings();
>> settings.setPageExpiredErrorPage(SessionExpiredPage.class);
>>
>>
>> the SessionExpiredPage .
>> please tell me what could be causing this ?
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/signout-and-redirect-tp28027857p28029507.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
--
View this message in context:
http://old.nabble.com/signout-and-redirect-tp28027857p28030108.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org