You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Emmanuel DUFOUR (JIRA)" <de...@myfaces.apache.org> on 2012/09/04 09:51:07 UTC

[jira] [Created] (MYFACES-3602) Myfaces is disabled by richfaces

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