myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1769) Ajax doesn't work for text containing unicode characters
Date Tue, 25 Jul 2017 19:16:00 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100588#comment-16100588
] 

Hudson commented on TOBAGO-1769:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago 3.0.x #14 (See [https://builds.apache.org/job/Tobago%203.0.x/14/])
Merged from trunk
TOBAGO-1769 Ajax doesn't work for text containing unicode characters
* encode method of HtmlResponseWriter copied to XmlResponseWriter
* test added [from revision 1802602] (hnoeth: [http://svn.apache.org/viewvc/?view=rev&rev=1802895])
* (edit) tobago-3.0.x
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/XmlResponseWriter.java
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java
* (add) tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/AjaxUnicodeController.java
* (add) tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/50000-java/30-ajax-unicode
* (edit) tobago-3.0.x/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/QUnitTests.java


> Ajax doesn't work for text containing unicode characters
> --------------------------------------------------------
>
>                 Key: TOBAGO-1769
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1769
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 3.0.4
>            Reporter: Henning Noeth
>            Assignee: Henning Noeth
>
> A text with an unicode character.
> {code:java}private String unicodeFoo = "Deimoyyy\u001Azzz";
> public String getUnicodeFoo() {
>   return unicodeFoo;
> }{code}
> {code:xml}<tc:out id="ajaxOut" label="Unicodefoo" value="#{controller.unicodeFoo}"/>
> <tc:button label="Ajax">
>   <f:ajax render="ajaxOut"/>
> </tc:button>{code}
> The page is rendered properly if execute a full page reload. In this case, the unicode
character is not rendered.
> If pressing the ajax button, this 'ajaxOut' component is not rendered. You can find the
unicode character in the ajax response.
> Please note, the error is not only for the 'value' attribute. It also appears for the
'tip' attribute (and probably for all other string attributes).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message