Hi!

Just wondering how this works, precisely.

I have a link that has an onClick() method that looks something like
this (in principle):

public void onClick()
{
  String token = checkForToken();
  if( token == null )
    // Do something that will cause token to be non-null next time
    throw new RestartResponseAtInterceptPageException( SomePage.class );

  doSomething( token );
}

This was working, now it's not. So, I guess I don't understand the
mechanism after all.


I thought that the URL associated with that onClick() handler (so,
something funky like /top/?wicket:interface=:18:1:::) was returned to
upon continueToOriginalDestination(). In that case, shouldn't my
onClick() above be called upon return? It's not.


Thank you!
=David



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

Reply via email to