cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Oberst (JIRA)" <>
Subject [jira] Updated: (COCOON-2027) [PATCH] Handling of empty responses in AJAX Forms with IFrame transport
Date Thu, 22 Mar 2007 18:58:32 GMT


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:
>             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.

View raw message