You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Aleksei Valikov (JIRA)" <de...@myfaces.apache.org> on 2006/03/21 13:42:00 UTC

[jira] Created: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

inputSuggestAjax does not set content type of the response
----------------------------------------------------------

         Key: TOMAHAWK-208
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
     Project: MyFaces Tomahawk
        Type: Bug
    Versions: 1.1.2-SNAPSHOT    
 Environment: MyFaces (with Sandbox), Facelets
    Reporter: Aleksei Valikov
    Priority: Minor


When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 6318
Date: Tue, 21 Mar 2006 12:36:41 GMT

<table>...</table>

This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

Posted by "Siarhei Dudzin (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-208?page=comments#action_12421268 ] 
            
Siarhei Dudzin commented on TOMAHAWK-208:
-----------------------------------------

The fix does not work because if the string is received from ServletRequest in already bad form. Applying correct encoding was a good idea but not enough...

> inputSuggestAjax does not set content type of the response
> ----------------------------------------------------------
>
>                 Key: TOMAHAWK-208
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: InputSuggestAjax
>    Affects Versions: 1.1.2-SNAPSHOT
>         Environment: MyFaces (with Sandbox), Facelets
>            Reporter: Aleksei Valikov
>         Assigned To: Gerald Müllan
>            Priority: Minor
>             Fix For: 1.1.3
>
>         Attachments: ajaxCharacterEncodingFix.patch, ajaxCharacterEncodingFix2.patch, ajaxDecodePhaseListener.patch
>
>
> When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 6318
> Date: Tue, 21 Mar 2006 12:36:41 GMT
> <table>...</table>
> This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

Posted by "Sharath Reddy (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-208?page=all ]

Sharath Reddy updated TOMAHAWK-208:
-----------------------------------

    Status: Patch Available  (was: Open)

> inputSuggestAjax does not set content type of the response
> ----------------------------------------------------------
>
>          Key: TOMAHAWK-208
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>     Versions: 1.1.2-SNAPSHOT
>  Environment: MyFaces (with Sandbox), Facelets
>     Reporter: Aleksei Valikov
>     Assignee: Gerald Müllan
>     Priority: Minor

>
> When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 6318
> Date: Tue, 21 Mar 2006 12:36:41 GMT
> <table>...</table>
> This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

Posted by "Gerald Müllan (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-208?page=comments#action_12416908 ] 

Gerald Müllan commented on TOMAHAWK-208:
----------------------------------------

Thx to Sharath for providing this patch.

> inputSuggestAjax does not set content type of the response
> ----------------------------------------------------------
>
>          Key: TOMAHAWK-208
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>     Versions: 1.1.2-SNAPSHOT
>  Environment: MyFaces (with Sandbox), Facelets
>     Reporter: Aleksei Valikov
>     Assignee: Gerald Müllan
>     Priority: Minor
>      Fix For: 1.1.3
>  Attachments: ajaxCharacterEncodingFix.patch, ajaxCharacterEncodingFix2.patch, ajaxDecodePhaseListener.patch
>
> When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 6318
> Date: Tue, 21 Mar 2006 12:36:41 GMT
> <table>...</table>
> This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

Posted by "Rumiana Panova (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-208?page=comments#action_12412887 ] 

Rumiana Panova commented on TOMAHAWK-208:
-----------------------------------------

After applying the patch, national characters are still displayed incorrectly. Maybe "charset=UTF-8" should be specified somewhere as well.

> inputSuggestAjax does not set content type of the response
> ----------------------------------------------------------
>
>          Key: TOMAHAWK-208
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>     Versions: 1.1.2-SNAPSHOT
>  Environment: MyFaces (with Sandbox), Facelets
>     Reporter: Aleksei Valikov
>     Assignee: Gerald Müllan
>     Priority: Minor
>      Fix For: 1.1.3-SNAPSHOT
>  Attachments: ajaxDecodePhaseListener.patch
>
> When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 6318
> Date: Tue, 21 Mar 2006 12:36:41 GMT
> <table>...</table>
> This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

Posted by "Jana Parvanova (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-208?page=comments#action_12412110 ] 

Jana Parvanova commented on TOMAHAWK-208:
-----------------------------------------

No facelets here and we have the same problem with tableSuggestAjax.

> inputSuggestAjax does not set content type of the response
> ----------------------------------------------------------
>
>          Key: TOMAHAWK-208
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>     Versions: 1.1.2-SNAPSHOT
>  Environment: MyFaces (with Sandbox), Facelets
>     Reporter: Aleksei Valikov
>     Assignee: Gerald Müllan
>     Priority: Minor

>
> When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 6318
> Date: Tue, 21 Mar 2006 12:36:41 GMT
> <table>...</table>
> This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-208) inputSuggestAjax does not set content type of the response

Posted by "Rumiana Panova (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-208?page=comments#action_12413712 ] 

Rumiana Panova commented on TOMAHAWK-208:
-----------------------------------------

I am sorry for the inconvenience, but where can I download a built sandbox.jar with the latest changes or if it is not relesed yet when will it be?

> inputSuggestAjax does not set content type of the response
> ----------------------------------------------------------
>
>          Key: TOMAHAWK-208
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-208
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: InputSuggestAjax
>     Versions: 1.1.2-SNAPSHOT
>  Environment: MyFaces (with Sandbox), Facelets
>     Reporter: Aleksei Valikov
>     Assignee: Gerald Müllan
>     Priority: Minor
>      Fix For: 1.1.3-SNAPSHOT
>  Attachments: ajaxCharacterEncodingFix.patch, ajaxCharacterEncodingFix2.patch, ajaxDecodePhaseListener.patch
>
> When inputSuggestAjax gets rendered, the AjaxDecodePhaseListener does not set the content type of the response to the (expected) text/html;charset=UTF-8 (or whatever). There's not type or charset specified at all. Below is the trace of the typical inputSuggestAjax response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 6318
> Date: Tue, 21 Mar 2006 12:36:41 GMT
> <table>...</table>
> This results in natinal characters displayed incorrectly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira