You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/12/29 23:35:13 UTC
[jira] [Closed] (TAP5-2372) Ajax Form Submit on IE8 reloades the
page
[ https://issues.apache.org/jira/browse/TAP5-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-2372.
--------------------------------------
Resolution: Cannot Reproduce
Assignee: Howard M. Lewis Ship
I'm testing using Win7/ IE8 and I do not see this behavior; I can demonstrate it using the T5 test app, and page nested/zonedemo. Clearly, it is possible to submit a form without a full page refresh, just a zone update.
Likely, something else has changed in the interrum.
> Ajax Form Submit on IE8 reloades the page
> -----------------------------------------
>
> Key: TAP5-2372
> URL: https://issues.apache.org/jira/browse/TAP5-2372
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Peter Skala
> Assignee: Howard M. Lewis Ship
> Priority: Minor
> Labels: IE8, ajax, form, submit, zone
>
> Form submit on a form with zone parameter defined results in full page reload on IE 8.
> Reason:
> zone binds the submit event to the document with the call of:
> onDocument: function(events, match, handler) {
> return exports.on( document, events, match, handler);
> },
> in t5-core-dom. The the reason why it does not work in IE 8 is described here:
> http://yuilibrary.com/forum-archive/forum/viewtopic.php@p=30202.html
> and here:
> http://www.quirksmode.org/dom/events/submit.html
> The solution or or workaround is to call
> dom..on( selector, events, match, handler);
> where the selector defines the form, which triggers the submit instead of :
> on( document, events, match, handler);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)