You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jan Oberst (JIRA)" <ji...@apache.org> on 2007/03/22 19:58:32 UTC
[jira] Updated: (COCOON-2027) [PATCH] Handling of empty responses
in AJAX Forms with IFrame transport
[ https://issues.apache.org/jira/browse/COCOON-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Oberst updated COCOON-2027:
-------------------------------
Attachment: cocoon-iframe-continue.patch
This patch changes Form.js to check for the dojo.transport before sending a bu:continue. If the request is using the iframe transport, the bu:continue message is wrapped into an HTML file, making it possible to handle the response with MSIE.
> [PATCH] Handling of empty responses in AJAX Forms with IFrame transport
> -----------------------------------------------------------------------
>
> Key: COCOON-2027
> URL: https://issues.apache.org/jira/browse/COCOON-2027
> Project: Cocoon
> Issue Type: Bug
> Components: Blocks: Forms
> Affects Versions: 2.1.11-dev (Current SVN), 2.2-dev (Current SVN)
> Reporter: Jan Oberst
> Attachments: cocoon-iframe-continue.patch
>
>
> We are experiencing problems with Cocoon Forms under following circumstances:
> - Using an AJAX-form
> - with file-upload (using the IFRAME Dojo transport accordingly)
> - using MSIE 6 or 7
> - pressing the cancel button
> In this case, an empty response is send. Because of browser limitations, an empty response is emulated using the bu:continue browser-update construct. Microsoft Internet Explorer expects always HTML response when dealing with the IFrame transport, so it cannot handle the XML-response (bu:continute) generated by Cocoon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.