[richfaces-issues] [JBoss JIRA] Commented: (RF-9665) Ajax doesn't work with Unicode

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed Dec 8 12:59:31 EST 2010


    [ https://jira.jboss.org/browse/RF-9665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568687#comment-12568687 ] 

Nick Belaevski commented on RF-9665:
------------------------------------

Caused by the following code:


        if (phaseId == PhaseId.APPLY_REQUEST_VALUES) {
            PartialResponseWriter writer = pvc.getPartialResponseWriter();
            facesContext.setResponseWriter(writer);
        }


in org.richfaces.context.PartialViewContextImpl.processPartialExecutePhase(PhaseId)

> Ajax doesn't work with Unicode
> ------------------------------
>
>                 Key: RF-9665
>                 URL: https://jira.jboss.org/browse/RF-9665
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.Milestone3
>         Environment: RichFaces 4.0.0-SNAPSHOT r.19944
> Metamer 4.0.0-SNAPSHOT r.19944
> Apache MyFaces JSF-2.0 Core Impl 2.0.2
> Apache Tomcat 6.0.28
> OpenJDK Runtime Environment 1.6.0_18-b18 @Linux
> Chrome 7.0.517.44 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Nick Belaevski
>             Fix For: 4.0.0.CR1
>
>
> 1. deploy Metamer with MyFaces
> 2. open one of the following pages:
>     http://localhost:8080/metamer/faces/components/a4jCommandButton/simple.xhtml
>     http://localhost:8080/metamer/faces/components/a4jCommandLink/simple.xhtml
>     http://localhost:8080/metamer/faces/components/a4jAjax/hCommandLink.xhtml
>     http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
>     http://localhost:8080/metamer/faces/components/a4jAjax/hGraphicImage.xhtml
>     http://localhost:8080/metamer/faces/components/a4jAjax/hInputText.xhtml
>     http://localhost:8080/metamer/faces/components/a4jAjax/hInputTextarea.xhtml
>     http://localhost:8080/metamer/faces/components/a4jAjax/hInputSecret.xhtml
>     http://localhost:8080/metamer/faces/components/a4jLog/simple.xhtml
> 3. type "asdfľščť"
> result:
> output is "asdf????" instead of "asdfľščť"
> It works when a4j:ajax wraps h:commandButton (http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButtonWrapped.xhtml).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list