[JBoss JIRA] (RF-12644) Improve CoreUtils/JSEncoder performance by character escape improvements
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12644?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč reassigned RF-12644:
-------------------------------
Assignee: Darius Ski (was: Lukáš Fryč)
> Improve CoreUtils/JSEncoder performance by character escape improvements
> ------------------------------------------------------------------------
>
> Key: RF-12644
> URL: https://issues.jboss.org/browse/RF-12644
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.0.M2
> Reporter: Darius Ski
> Assignee: Darius Ski
> Priority: Minor
> Fix For: 4.3.0.M3
>
>
> In JSUtils, character escaping is done a char at a time. Also in JSEncoder there is opportunity to add encode method that operates with CharBuffer constants and making encode/compile methods static.
> Improves partial rendering performance, when large Strings are coming from user beans (for example custom generated JSON), that need escaping.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 12 months
[JBoss JIRA] (RF-12644) Improve CoreUtils/JSEncoder performance by character escape improvements
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12644?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12644:
---------------------------------
Hey Darius, could you please add some JUnit tests which would guard the {{JSEncoder}}?
I can see there is [{{ScriptUtilsTest}}|https://github.com/richfaces/core/blob/develop/api/src/test/java/org/ajax4jsf/javascript/ScriptUtilsTest.java#L244] which in the end tests {{JSEncoder}} through {{ScriptUtils}}, but it's really simple.
You can either extend {{ScriptUtilsTest}} or add {{JSEncoderTest}} side by side to {{ScriptUtils}}.
> Improve CoreUtils/JSEncoder performance by character escape improvements
> ------------------------------------------------------------------------
>
> Key: RF-12644
> URL: https://issues.jboss.org/browse/RF-12644
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.0.M2
> Reporter: Darius Ski
> Assignee: Lukáš Fryč
> Priority: Minor
> Fix For: 4.3.0.M3
>
>
> In JSUtils, character escaping is done a char at a time. Also in JSEncoder there is opportunity to add encode method that operates with CharBuffer constants and making encode/compile methods static.
> Improves partial rendering performance, when large Strings are coming from user beans (for example custom generated JSON), that need escaping.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 12 months
[JBoss JIRA] (RF-12021) Compilation of Input UI component logs 2 errors about faces-config.xml
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12021?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak commented on RF-12021:
------------------------------------
Immanuel,
this issue doesn't break build and doesn't influence functionality of RichFaces.
> Compilation of Input UI component logs 2 errors about faces-config.xml
> ----------------------------------------------------------------------
>
> Key: RF-12021
> URL: https://issues.jboss.org/browse/RF-12021
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.0.Final
> Reporter: Marek Novotny
> Assignee: Brian Leathem
>
> Compilation of RF UI Components specifically Input UI has got 2 errors in log - related to bad faces-config.xml on line number 29 and 240.
> The following is snippet of log:
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building RichFaces UI Components: Input UI 4.2.0.Final
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-java-version) @ richfaces-ui-input-ui ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-maven-version) @ richfaces-ui-input-ui ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO]
> [INFO] --- maven-cdk-plugin:4.2.0.Final-redhat-1:generate (cdk-generate-sources) @ richfaces-ui-input-ui ---
> [Error] faces-config.xml:29:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
> [Error] faces-config.xml:240:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 12 months
[JBoss JIRA] (RF-12021) Compilation of Input UI component logs 2 errors about faces-config.xml
by Immanuel Gregoire (JIRA)
[ https://issues.jboss.org/browse/RF-12021?page=com.atlassian.jira.plugin.s... ]
Immanuel Gregoire commented on RF-12021:
----------------------------------------
So how do I work around this Won't fix bug ? How to build Richfaces ?
thanks
> Compilation of Input UI component logs 2 errors about faces-config.xml
> ----------------------------------------------------------------------
>
> Key: RF-12021
> URL: https://issues.jboss.org/browse/RF-12021
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.0.Final
> Reporter: Marek Novotny
> Assignee: Brian Leathem
>
> Compilation of RF UI Components specifically Input UI has got 2 errors in log - related to bad faces-config.xml on line number 29 and 240.
> The following is snippet of log:
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building RichFaces UI Components: Input UI 4.2.0.Final
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-java-version) @ richfaces-ui-input-ui ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-maven-version) @ richfaces-ui-input-ui ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO]
> [INFO] --- maven-cdk-plugin:4.2.0.Final-redhat-1:generate (cdk-generate-sources) @ richfaces-ui-input-ui ---
> [Error] faces-config.xml:29:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
> [Error] faces-config.xml:240:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 12 months