Hi all,

The continueToOriginalDestination() method in our Login page throws a 
ReplaceHandlerException (Wicket 1.5.7). This means that it won't invoke the 
setResponsePage, which I do expect. 

Our implementation looks like:

Form<Void> form = new StatelessForm<Void>("form"){

  @Override
   protected void onSubmit() {

       if (session.signIn(username, password)) {
           if (!continueToOriginalDestination()) {
                setResponsePage(getApplication().getHomePage());                
           }
       }

   }
};

RequestHandlerStack#replaceAll throws this exception because there is still one 
requestHandler (ListenerInterfaceRequestHandler -> Listener interface: 
IFormSubmitListener).

How should we handle this exception?

Thanks in advance!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to