You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2017/07/27 07:59:00 UTC

[jira] [Resolved] (TOBAGO-1769) Ajax doesn't work for text containing non-printable control characters

     [ https://issues.apache.org/jira/browse/TOBAGO-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1769.
-------------------------------------
    Resolution: Fixed

> 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
>             Fix For: 3.0.5, 4.0.0
>
>
> 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)