You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Noeth (JIRA)" <de...@myfaces.apache.org> on 2017/07/21 10:05:00 UTC
[jira] [Created] (TOBAGO-1769) Ajax doesn't work for text
containing unicode characters
Henning Noeth created TOBAGO-1769:
-------------------------------------
Summary: 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
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)