Hi:
I used the following for logout
Logout extend WebPage{
getSession().invalidateNow()
getResponse().redirect(".")
When the link is clicked, it says
Already redirecting to "." Cannot redirect more than once
What would be the solution. (interestingly, the above worked
a while ago) Now I am using 1.3 final.
BTW, I tried adding a button inside a form and use onSubmit callback
instead of the normal submit type. The button does not respond at all
and the html code shows there is not any way that the browser would
send back request.
<form> <input type="button" value="cancel"> </form>
in Java new button(){onSubmit())
A lot of surprises once getting into more in Wicket
Thanks