Re: AJAX Filtered Grid and Firefox

2013-01-31 Thread lprimak
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... i

Re: AJAX Filtered Grid and Firefox

2013-01-31 Thread Geoff Callender
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

Re: AJAX Filtered Grid and Firefox

2013-01-30 Thread Lance Java
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 Tapestr

Re: AJAX Filtered Grid and Firefox

2013-01-30 Thread Geoff Callender
Here's the cause and a solution... It happens if you try to do a manual AJAX submit by calling form.performSubmit(), in Firefox. performSubmit() will try to stop the window.event, but window.event is not defined in Firefox. I'm solving it by scrapping the manual submit. Instead, I've added an i

Re: AJAX Filtered Grid and Firefox

2013-01-30 Thread Geoff Callender
Well spotted. Thanks. On 30/01/2013, at 12:45 AM, Lance Java wrote: > This won't solve your problem but I would change: > onchange="document.getElementById('filterCriteria').performSubmit()" > > to: > onchange="this.form.performSubmit()" > > > > -- > View this message in context: > http://ta

Re: AJAX Filtered Grid and Firefox

2013-01-29 Thread Lance Java
This won't solve your problem but I would change: onchange="document.getElementById('filterCriteria').performSubmit()" to: onchange="this.form.performSubmit()" -- View this message in context: http://tapestry.1045711.n5.nabble.com/AJAX-Filtered-Grid-and-Firefox-tp5719647p5719650.html Sent from