No i am not constructing new page I am just returning the class for that
page .
I am using
public <C extends Page> RestartResponseException(Class<C> pageClass)
{
RequestCycle.get().setResponsePage(pageClass);
}
here the code for AuditWicketApplication.SignInPageHelper()
public static class SignInPageHelper {
ApplicationSettings
applicationSettings=SpringApplicationContext.getBean("applicationSettings");
public Class<? extends WebPage> getSignInPage(){
return applicationSettings.getSignInPageClass();
}
public Class<? extends WebPage> getSignedOutPage(){
return applicationSettings.getSingedOutPageClass();
}
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/signout-and-encryption-key-in-session-tp2254370p2254482.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]