[
https://issues.apache.org/jira/browse/TOBAGO-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101662#comment-16101662
]
Udo Schnurpfeil commented on TOBAGO-1769:
-----------------------------------------
The problem occurs with control characters, not with unicode characters, so
I've changed the description and title.
> Ajax doesn't work for text containing non-printable control 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: Udo Schnurpfeil
>
> A text with a control character.
> {code:java}private String controlFoo = "Deimoyyy\u001Azzz";
> public String getControlFoo() {
> return controlFoo;
> }{code}
> {code:xml}<tc:out id="ajaxOut" label="Controlfoo"
> value="#{controller.controlFoo}"/>
> <tc:button label="Ajax">
> <f:ajax render="ajaxOut"/>
> </tc:button>{code}
> The page is rendered properly if execute a full page reload.
> If pressing the ajax button, this 'ajaxOut' component is not rendered. You
> can find the control 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)