myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel DUFOUR (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3602) Myfaces is disabled by richfaces
Date Tue, 04 Sep 2012 07:51:07 GMT
Emmanuel DUFOUR created MYFACES-3602:
----------------------------------------

             Summary: Myfaces is disabled by richfaces
                 Key: MYFACES-3602
                 URL: https://issues.apache.org/jira/browse/MYFACES-3602
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.8
         Environment: Tomee server richfaces 4.2.2
            Reporter: Emmanuel DUFOUR


The simple presence of the popupanel or calendar or datatable tag frin richfaces makes the
myfaces javascript library not included in the page disabling the link ex the simple jsf 
page below :

--------------
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">

<h:head></h:head>
<h:body>

<h:form>
<h:commandLink value="Index" action="welcome" immediate="true" />
<rich:popupPanel >
</rich:popupPanel>
</h:form>

</h:body>
</html>
-------------------------------


A soon as richfaces tags are added to the page, the myFace JavaScript library link usually
included in the 1st form of the page:

<script type="text/javascript" src="/pilot/javax.faces.resource/oamSubmit.js.xhtml?ln=org.apache.myfaces">

disappears from the rendered HTML. And consequently all "h:commandLink" links fail in the
browser with a javascript error "myFaces not defined".

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

Mime
View raw message