In trying to migrate from wicket 1.4 to 1.5, all my "setResponsePage" calls
get "red" in Eclipse. e.g:

setResponsePage(WelcomePage.class, parameters);

gets the error message:
"The method setResponsePage(Class<C>, PageParameters) in the type Component
is not applicable for the arguments (Class<WelcomePage>, PageParameters)"

I can change the call to:
setResponsePage(new WelcomePage(parameters));

, but this is quite some work for all the calls in the whole project. Why
doesn`t the old method work?

Cheers
Terje Eithun, Norway



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/migrate-to-1-5-setResponsePage-problem-tp4659413.html
Sent from the Users forum 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

Reply via email to