I'm a Wicket newbie, working my way through /Wicket in Action.
/I don't understand redirection too clearly yet, but there is an example in the book which doesn't work right when I try it and I'd like to ask if the book example code makes sense to more experienced folks. Page 271 Listing 11.3 line 4: The onSubmit() method calls !continueToOriginalDestination(). Page 272 Listing 11.4 , new Link(...){ ... method onClick(): throws new RestartResponseAtInterceptPageException(signInPage) How is this supposed to work? Suppose the user is on the Home page, and the Home Page has a UserPanel, and the user clicks on the "Sign In" link. Then the link itself sets an intercept to the sign-in page (that is how the link arranges to take you there, as far as I can understand). But then, when the user enters name/password and submits, and the submit method calls continueToOriginalDestination(), it will always succceed, and find the "original destination" to be the signIn page, regardless of where it really originated (the Home Page, in this case). For a while my code was working like that: Signing in worked, i.e. it did sign you in, but you were returned to a blank sign-in page. (My code doesn't work like that just this minute, but that is only because I've been enhancing it with other bugs.) Can anyone explain how the book-example is supposed to work? Thanks Jim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org