[richfaces-planning-issues] [JBoss JIRA] (RFPL-2516) Editor - submitting by a4j:commandButton causes JS error

Juraj Húska (JIRA) jira-events at lists.jboss.org
Thu Jan 3 09:32:09 EST 2013


    [ https://issues.jboss.org/browse/RFPL-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743386#comment-12743386 ] 

Juraj Húska commented on RFPL-2516:
-----------------------------------

Resolved by using {{StringEscapeUtils.escapeJavaScript}} on both {{newVal}} and {{oldVal}}. See [this|https://github.com/richfaces/qa/commit/51fe30a17bf2614e2c22b770ba24895a6c95760f] commit.
                
> Editor - submitting by a4j:commandButton causes JS error
> --------------------------------------------------------
>
>                 Key: RFPL-2516
>                 URL: https://issues.jboss.org/browse/RFPL-2516
>             Project: RichFaces Planning
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: QE
>    Affects Versions: 4.1.0.Milestone2
>         Environment: RichFaces 4.1.0-SNAPSHOT r.d0f9c11eb0dacc1444c0a3182b12567e28aef6bc
> Metamer 4.1.0-SNAPSHOT r.22610
> Apache MyFaces JSF-2.1 Core Impl 2.1.1
> Apache Tomcat 6.0.32
> OpenJDK Runtime Environment 1.6.0_22-b22 @Linux
> Internet Explorer 8.0 @ Win32
> RichFaces 4.1.0-SNAPSHOT r.d0f9c11eb0dacc1444c0a3182b12567e28aef6bc
> Metamer 4.1.0-SNAPSHOT r.22610
> Apache MyFaces JSF-2.1 Core Impl 2.1.1
> Apache Tomcat 6.0.32
> OpenJDK Runtime Environment 1.6.0_22-b22 @Linux
> Firefox 5.0 @ Linux x86_64
>            Reporter: Jan Papousek
>            Assignee: Pavol Pitonak
>            Priority: Optional
>             Fix For: 4.3.0.CR1
>
>
> When the rich:editor is submitted by a4j:commandButton which renders an output area, the output area stays empty. This can be reproduced in Metamer - faces/components/richEditor/simple.xhtml.

--
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



More information about the richfaces-planning-issues mailing list