If you read up the thread a bit you would see that that was the last test that was asked to see what was working. People have pasted in that link 3 times without reading anything else from the thread! I already understand how to work with tapestry and js! My issue is applying my confirm or other js mixins to a LinkSubmit component. It doesnt matter how I try to stop the event it still submits the form.
My use case is that for an important form I just want to confirm before they submit. If they press cancel the form submit event should cancel (one would hope). If anyone can shed light on this that would be great. Zack Thiago H. de Paula Figueiredo wrote: > > On Thu, Feb 5, 2009 at 6:34 AM, zack1403 <zack.mann...@gmail.com> wrote: > >> Hey guys sorry to resurrect this issue. I just got around to fixing this >> bug >> :) When I try an inline confirm with javascript on a LinkSubmit (t5) >> component it will always submit the form. I know that javascript cant >> assure order of events. Is this basically an issue that doesnt have a >> solution? Or I guess the solution is no confirm with javascript? > > Neven inline Javascript, use RenderSupport.addScript(). More info at > http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained. > > -- > Thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/Confirm%28%22are-you-sure-want-to-delete%22%29-in-%3Caction-link%3E-tp20968491p21849515.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org