[jira] [Commented] (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:comment-tabpanel=16101838#comment-16101838 ] Hudson commented on TOBAGO-1769: SUCCESS: Integrated in Jenkins build Tobago Trunk #958 (See [https://builds.apache.org/job/Tobago%20Trunk/958/]) TOBAGO-1769: Ajax doesn't work for text containing non-printable control characters * Code Style: renaming "Utils" to "Helper", because it will be instantiated. "Utils" should only be static (lofwyr: [http://svn.apache.org/viewvc/?view=rev=1803060]) * (add) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/HtmlWriterHelper.java * (delete) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/HtmlWriterUtils.java * (add) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/WriterHelper.java * (delete) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/WriterUtils.java * (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/HtmlResponseWriter.java * (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/XmlResponseWriter.java * (add) tobago-trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/util/HtmlWriterHelperUnitTest.java * (delete) tobago-trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/util/HtmlWriterUtilsUnitTest.java TOBAGO-1769: Ajax doesn't work for text containing non-printable control characters * removing unused code (lofwyr: [http://svn.apache.org/viewvc/?view=rev=1803059]) * (delete) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JavascriptWriterUtils.java * (delete) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JsonWriterUtils.java * (delete) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java * (delete) tobago-trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/util/JavascriptWriterUtilsTest.java 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 (lofwyr: [http://svn.apache.org/viewvc/?view=rev=1803058]) * (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JavascriptWriterUtils.java * (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/JsonWriterUtils.java * (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/webapp/HtmlResponseWriter.java * (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-core/src/test/java/org/apache/myfaces/tobago/util/JavascriptWriterUtilsTest.java * (add) tobago-trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/AjaxSpecialCharacterController.java * (delete) tobago-trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/AjaxUnicodeController.java * (add) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-java/30-ajax-special-character * (add) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-java/30-ajax-special-character/ajax-special-character.test.js * (add) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-java/30-ajax-special-character/ajax-special-character.xhtml * (delete) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-java/30-ajax-special-character/ajax-unicode.test.js * (delete) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-java/30-ajax-special-character/ajax-unicode.xhtml * (delete) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-java/30-ajax-unicode * (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 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} value="#{controller.controlFoo}"/> > > > {code} > The page is rendered properly if execute a full page reload. > If pressing the ajax
[jira] [Commented] (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:comment-tabpanel=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=1803062]) * (delete) tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/5-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=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/5-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} value="#{controller.controlFoo}"/> > > > {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)
[jira] [Commented] (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:comment-tabpanel=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} value="#{controller.controlFoo}"/> > > > {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)