[
https://issues.apache.org/jira/browse/TOBAGO-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096335#comment-16096335
]
Hudson commented on TOBAGO-1769:
--------------------------------
SUCCESS: Integrated in Jenkins build Tobago Trunk #955 (See
[https://builds.apache.org/job/Tobago%20Trunk/955/])
TOBAGO-1769 Ajax doesn't work for text containing unicode characters
* encode method of HtmlResponseWriter copied to XmlResponseWriter
* test added (hnoeth: [http://svn.apache.org/viewvc/?view=rev&rev=1802602])
* (edit)
tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/XmlResponseWriter.java
* (edit)
tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java
* (edit)
tobago-trunk/tobago-example/tobago-example-data/src/main/java/org/apache/myfaces/tobago/example/data/SolarObject.java
* (add)
tobago-trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/AjaxUnicodeController.java
* (edit)
tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/sheet.xhtml
* (add)
tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/50000-java/30-ajax-unicode
* (add)
tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/50000-java/30-ajax-unicode/ajax-unicode.test.js
* (add)
tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/50000-java/30-ajax-unicode/ajax-unicode.xhtml
* (edit)
tobago-trunk/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)