I have two pages (identical) called PageOne and PageTwo, each with a form, mounted with an UnVersionedUrlMapper. When I do a RestartResponseException in the submit (via an AjaxButton) to the same page (from pageOne to pageOne), the PageOne's constructor is called twice. (onInitialize is called once) But If I throw RestartResponseException (via an AjaxButton) from pageOne to pageTwo the PageTwo's constructor is called once or if I throw RestartResponseException (via a standard Button) from pageOne to pageOne the pageOne's constructor is called once. Tested with all the 9.x Here is the test the UnVersionedUrlMapper # mapHandler if (requestHandler instanceof ListenerRequestHandler || requestHandler instanceof BookmarkableListenerRequestHandler) { return null; } else { return super.mapHandler(requestHandler); }
Did I miss something or am I misusing RestartResponseException ? Are the tests in the UnVersionedUrlMapper wrong ? Thanks for your help.
<<attachment: quickstart.zip>>
François
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org