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

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

SUCCESS: Integrated in Jenkins build Tobago 3.0.x #15 (See 
[https://builds.apache.org/job/Tobago%203.0.x/15/])
Merged from trunk
TOBAGO-1769: Ajax doesn't work for text containing non-printable control 
characters
* clean up: using same code for encoding AJAX and normal requests
* removing unused code
[from revision 1803058] (lofwyr: 
[http://svn.apache.org/viewvc/?view=rev&rev=1803062])
* (delete) 
tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/50000-java/30-ajax-unicode
Merged from trunk
TOBAGO-1769: Ajax doesn't work for text containing non-printable control 
characters
* clean up: using same code for encoding AJAX and normal requests
* removing unused code
[from revision 1803058] (lofwyr: 
[http://svn.apache.org/viewvc/?view=rev&rev=1803061])
* (edit) tobago-3.0.x
* (edit) 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JavascriptWriterUtils.java
* (edit) 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JsonWriterUtils.java
* (edit) 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/HtmlResponseWriter.java
* (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
* (edit) 
tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/util/JavascriptWriterUtilsTest.java
* (add) 
tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/AjaxSpecialCharacterController.java
* (delete) 
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-special-character
* (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 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)

Reply via email to