On Thu, Apr 23, 2009 at 8:21 PM, Geoffrey Wiseman < geoffrey.wise...@gmail.com> wrote:
> *Using a Link with a Button Inside* > I tried using a link with an HTML button inside, as was described > here<http://markmail.org/message/o2qom7zm45atymoo>, > and it had an interesting effect. I haven't tracked down exactly what > happens between the browser and the server, but it can cause pretty severe > and subtle issues. I was using this 'til I hit this snag. Basically, > tapestry first treats this like a submitted form, then goes on to process > the link. This seems to involve triggering client side validation, server > side validation, server-side success and finally page navigation. Near as I > can tell from jetty logs, The form is getting POSTed and the link is being > clicked, both. Not sure if this behaves the same way in all browsers. > Had a thought last night -- this is Redirect After Post again. Post goes in, gets a 302, then fires a GET. Jetty logs confirm. - Geoffrey -- Geoffrey Wiseman http://www.geoffreywiseman.ca/