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:54:32 UTC
[jira] Created: (COCOON-2027) [PATCH] Handling of empty responses
in AJAX Forms with IFrame transport
[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
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.
[jira] Updated: (COCOON-2027) [PATCH] Handling of empty responses
in AJAX Forms with IFrame transport
Posted by "Jan Oberst (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (COCOON-2027) [PATCH] Handling of empty responses in
AJAX Forms with IFrame transport
Posted by "Antonio Gallardo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COCOON-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Gallardo closed COCOON-2027.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.2-dev (Current SVN)
2.1.11-dev (Current SVN)
Thanks for the patch. It was applied in both branches (2.1.11-dev and 2.2). Feel free to reopen the issue if needed.
> [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
> Fix For: 2.1.11-dev (Current SVN), 2.2-dev (Current SVN)
>
> 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.