Hi, The method is still there: https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Component.java?source=cc#L3168 Try to build with javac/Maven or any other tool but Eclipse.
On Wed, Jun 12, 2013 at 2:22 PM, terjeeit <terje.eit...@gmail.com> wrote: > 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 > >