I just tried replacing the exception line with:
try {
throw new RestartResponseAtInterceptPageException((Page)
getLoginPageClass().newInstance());
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
And it "works". Works is in quotes because although the LoginPage renders,
something downstream of it breaks when I try to submit, but when I send in a
Class<Page> it treats it like a string URL. When I send in an instnatiated
Page, it works. Anyone know why that might be?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Converting-1-4-7-to-6-12-Login-Error-tp4662916p4662961.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]