[ https://issues.apache.org/jira/browse/MYFACES-3602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942676#comment-14942676 ]
Thomas Andraschko commented on MYFACES-3602: -------------------------------------------- Thats probably related to RichFaces resource routing/mapping feature. I can't reproduce this e.g. when i add a PrimeFaces component. > 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 was sent by Atlassian JIRA (v6.3.4#6332)