Ajax form is submitted by setSubmittingElement() followed by onsubmit()This is used ( and tested / works ) here (line 27, 28):http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/DisableAfterSubmit.jsGeoff Callender wrote:> Yes, but... it seems an AJAX Form is different - it doesn't respond to this.form.submit(). > > I've seen it suggested somewhere to use performSubmit(), and in tapestry.js it describes the function as programatically performing a submit. Works fine, except in an AJAX Form with Firefox.> > Anyway I'm happier with invisibly clicking an invisible submit because it's future-proof, having no dependency on knowledge of tapestry.js.> > On 31/01/2013, at 12:27 AM, Lance Java wrote:> > > I'm not familiar with all the javascript in tapestry.js but isn't clicking a> > submit button equivalent to form.submit() and not form.performSubmit()?> > > > > > > > --> > View this message in context: http://tapestry.1045711.n5.nabble.com/AJAX-Filtered-Grid-and-Firefox-tp5719647p5719669.html> > Sent from the Tapestry - User mailing list archive at Nabble.com.> > > > ---------------------------------------------------------------------> > To unsubscribe, e-mail: [email protected]> > For additional commands, e-mail: [email protected]> > > > > ---------------------------------------------------------------------> To unsubscribe, e-mail: [email protected]> For additional commands, e-mail: [email protected]>
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
