I have a Cancel button in my forms that, when clicked, should redirect the user back to the previous page. This works fine in all but one of my forms. It is almost identical to all the others, so I don't know why it doesn't work. I am simply using setResponsePage(backPage) in the onClick method of the button, and it generates the correct onclick code.
After doing some research, I have found other people with the same _javascript_ issue and it seems to be that 'location.href=''t always work inside of forms. To test this I created another button and tried using ' self.location= ', and it works fine.
Anyone else run into this problem before or know of any workarounds?
Steve
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
