It IS calling it (I've debugged it) and nothing happens. I could make it work replacing that line with this:
throw new RestartResponseAtInterceptPageException(RealHomePage.class); Is this the solution? Why setReponsePage() is not working? thanks! On Tue, Sep 11, 2012 at 12:21 PM, Paul Bors <p...@bors.ws> wrote: > Are you sure it's not calling the setReponsePage() (put break-point or a log > message) and instead is trying to call the onError() method of your button > or form? > > ~ Thank you, > Paul Bors > > -----Original Message----- > From: Alfonso Quiroga [mailto:alfonsose...@gmail.com] > Sent: Tuesday, September 11, 2012 11:07 AM > To: users@wicket.apache.org > Subject: stateless Login page!! > > Hi, I have a stateless login page (statelessForm) and when the user login I > do: > > > protected void onSubmit() { > [....] > > setResponsePage(HomePage.class); > } > > This was WORKING on wicket 1.5.RC7, but when I've changed to 1.5.7 or 1.5.8, > it does not work, it just RELOADS the login page. What can I do instead of > using setResponsePage() ?? thanks in advance > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org