cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@apache.org>
Subject Re: Very early 2.1.12-dojo1_1-dev committed
Date Tue, 11 Nov 2008 13:01:37 GMT
Hi Roy

Sorry, this is getting a bit confusing .... just trying to clarify ....

You are fully updated, have re-built Cocoon and refreshed the  
browser's cache, your action has been removed and the default form  
encoding set in web.xml to UTF-8 ?

Under those circumstances, MSIE has problems with the encoding being  
set on the Browser to : "application/x-www-form-urlencoded;  
charset=UTF-8" ?

Changing it to : "application/x-www-form-urlencoded" fixes the problem  
with MSIE ?

(Please confirm the above)

If this is the case, then I think we have a minor problem, as far as I  
can remember, I added the 'charset' for a specific reason, I'll need  
to review the code and run some tests to check this.

Awaiting your response.

best regards

Jeremy


On 9 Nov 2008, at 07:04, lingerer huang wrote:

>
> Hi,Jemery
>
> The Select.diff you can just ignore,cause I make this diff without  
> update
> svn.
>
> The encoding problem I just make the change as I suggested last few  
> mail.
>
> ### Eclipse Workspace Patch 1.0
> #P dojo1_1
> Index:
> src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/ 
> AjaxForm.js
> ===================================================================
> ---
> src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/ 
> AjaxForm.js
> (revision 712104)
> +++
> src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/ 
> AjaxForm.js
> (working copy)
> @@ -68,7 +68,7 @@
>             dojo.io.iframe.send(xhrArgs);                       /*  
> send the
> AJAX Request via iframe IO */
>             // TODO: weird bug with Safari, does not send 'cocoon- 
> ajax' or
> 'dojo.transport' the second time the form is posted
>         } else {
> -            xhrArgs.contentType = "application/x-www-form-urlencoded;
> charset=UTF-8";
> +            xhrArgs.contentType = "application/x-www-form- 
> urlencoded;";
>             dojo.xhrPost(xhrArgs);                              /*  
> send the
> AJAX Request via xhr IO */
>         }
>         // Toggle the click target off, so it does not get  
> resubmitted if
> another submit is fired before this has finished
>
> My setting provided last few mail just did the same effect as you  
> did.So I
> think we should change the contentType to use the old way.
>
> regards
>
> Roy Huang
>


Mime
View raw message