wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Entropy <blmulholl...@gmail.com>
Subject Re: Converting 1.4.7 to 6.12 - Login Error
Date Thu, 12 Dec 2013 19:05:23 GMT
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message