[richfaces-issues] [JBoss JIRA] Updated: (RF-6501) CLONE -JS error on ContextMenu when using Myfaces Impl - even set the content type

Alan Chan (JIRA) jira-events at lists.jboss.org
Wed Mar 11 06:49:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-6501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Chan updated RF-6501:
--------------------------

    Attachment: web.xml


I'm using Richfaces 3.1.6 SR1 with Myfaces 1.1.6 and facelet 1.1.14. After trying the workaround to set the content type to "application/xhtml+xml" but still got the same JS error.

I set the content type by adding the meta data in the "head" tag of the page but does not work:

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />

Also, i tried to add <f:view contentType="application/xhtml+xml">, then for IE it prompts the download file dialog i/o displaying the page, and for FF, it just shows the JS error and said it is not well-formated.

I cloned the issue from this as the workaround is not working for me:
https://jira.jboss.org/jira/browse/RF-1794

Attached please find the web.xml for reference.
Any suggestions? 

> CLONE -JS error on ContextMenu when using Myfaces Impl - even set the content type
> ----------------------------------------------------------------------------------
>
>                 Key: RF-6501
>                 URL: https://jira.jboss.org/jira/browse/RF-6501
>             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: Alan Chan
>            Assignee: Tsikhon Kuprevich
>         Attachments: web.xml
>
>
> 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.js.jsf
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list