[
http://jira.jboss.com/jira/browse/RF-1794?page=comments#action_12400495 ]
Jordan Parker commented on RF-1794:
-----------------------------------
I've debugged through the MyFaces and RichFaces source code and found the cause of the
problem. MyFaces wraps content inside <script> tags with comment start/end markers
( <!-- and //--> ). This becomes a problem when the RichFaces.Menu.Layer
<script> tag includes these comment markers (since this Layer tag is inside another
<script> tag for the Menu itself). This nested <script> tag with the comment
markers breaks the final encoding of the RichFaces components.
Hope this helps with the fix.
JS error on ContextMenu when using Myfaces Impl
-----------------------------------------------
Key: RF-1794
URL:
http://jira.jboss.com/jira/browse/RF-1794
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: Myfaces Core (1.1.5 and 1.2.0)
Facelets (1.1.3)
Tomcat 6.0.14
FF and IE7
Reporter: Pablo Caballero
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
The following Javascript error shows up when using contextMenu with Myfaces core instead
of SUN RI:
Error: syntax error
Source File:
http://localhost:8080/richfaces/a4j_3_1_3.GAorg/ajax4jsf/framework.pack.j...
Line: 149
Source Code:
<!--
The easiest way to reproduce this bug is to run the contextMenu example on the richfaces
live demo with myfaces core.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira