Hello,
I've got a "jQuery doesnt exist" javscript error after passing to RF 4.5 Beta1 from RF 4.3.7. Here is a sample from my template.
I have already had this error when migrating from RF 3.3 to RF 4.3, i solved it by inserting <h:outputScript name="jquery.js" />
Any idea ?
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<title>MyApp</title>
<link href="http://www.alladin.fr/favicon.ico" rel="shorcut icon" />
<h:outputScript name="jquery.js" />
<h:outputScript library="default" name="js/masks-1.4.js" />
<h:outputScript library="default" name="js/js-commons-1.3.js" />
<h:outputScript library="default" name="js/jquery.maskedinput.js" />
<h:outputScript library="default" name="js/calendarUtils.js" />
</h:head>
<h:body>
<h:outputStylesheet library="default" name="css/commonStyle-1.4.css" />
<f:view id="mainView" contentType="text/html">
<ui:param name="baseUrl" value="#{facesContext.externalContext.requestContextPath}" />
<h:panelGroup id="main" rendered="#{userBean.loggedOn}" layout="block">
<ui:insert name="menu">
<ui:include src="/facelets/menu.xhtml" />
</ui:insert>
<h:panelGroup id="synthese" layout="block" styleClass="noPadding noMargin" >
<ui:insert name="header">
<ui:include src="/synthese.xhtml" />
</ui:insert>
</h:panelGroup>