Hi, We use the method onPageAttached () for volidation, and if an error occurs then we redirect to any appropriate page >From the page constructor setResponsePage does not work. If you use the if (! validateLogin ()) { throw new RestartResponseAtInterceptPageException (LoginPage.class); } as a result: Last cause: Same attribute found twice: key (line 21, column 70) But there was not this error before. And on different pages we override onPageAttached and add some new validations. "public void onPageAttached() { super.onPageAttached(); validate........"
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-onPageAttached-never-gets-called-in-1-5-tp3338320p4528292.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