[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:10:08 EST 2013
[ https://issues.jboss.org/browse/RFPL-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743372#comment-12743372 ]
Juraj Húska edited comment on RFPL-2516 at 1/3/13 9:08 AM:
-----------------------------------------------------------
I was looking into it again and I think it is caused by the fact that there is {{newline}} added to the {{newValue}} of the event.
When submitting value e.g. "foo", then
{{<p> \newLine foo</p> \newLine}}
is returned by calling the {{event.getNewValue()}} [here|https://github.com/richfaces/qa/blob/master/metamer/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java#L483]
The {{<p>foo</p>}} is IMHO expected.
was (Author: jhuska):
I was looking into it again and I think it is caused by the fact that there is {{newline}} added to the {{newValue}} of the event.
When submitting value e.g. "foo", then
{{<p> \newLine foo</p> \newLine}}
is returned.
The {{<p>foo</p>}} is IMHO expected.
> 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