RestartResponseException worked but it doesn't accept external URL. As a result, I have to put the redirection in the dummy Page's HTML header.
Someone in the forum mentioned using WebApplication.getHomePage() to get around but that too requires you to put up a dummy Page to redirect to the external site as mentioned in previous paragraph. Thanks for the replies. Now I have a choice to make after becoming more knowledgeable on this issue. Eelco Hillenius wrote: > >> I tried both AbortException and RestartResponseException. They didn't >> work. >> AbortException basically causes Wicket to show a blank page instead of >> redirecting to the external site while RestartResponseException caused >> stack >> overflow error. The exceptions were thrown in >> onUnauthorizedInstantiation(...) method. > > You should use the RestartResponseException, not AbortException > directly. The stack overflow error is something you can fix yourself; > make sure you redirect to a page that won't cause these redirects to > be triggered again. > > Eelco > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Private-Homepage-Redirection-tp17079231p17093829.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]