'PrimeFaces' is undefined error
Posted: 30 Aug 2010, 08:02
HI,
I'm trying to use primefaces 2.1 with jsf 1.2. But when I load my jsp page I just get this javascript error: " 'PrimeFaces' is undefined " and when i am putting p:resources in f:view no error is coming but contents not displayed
Please suggest me what to do to come out this error
this is my jsp code
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p"%>
<html>
<head>
<p:resources />
</head>
<body>
<f:view>
<h:form>
<p:commandButton></p:commandButton>
</h:form>
</f:view>
</body>
</html>
I'm trying to use primefaces 2.1 with jsf 1.2. But when I load my jsp page I just get this javascript error: " 'PrimeFaces' is undefined " and when i am putting p:resources in f:view no error is coming but contents not displayed
Please suggest me what to do to come out this error
this is my jsp code
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p"%>
<html>
<head>
<p:resources />
</head>
<body>
<f:view>
<h:form>
<p:commandButton></p:commandButton>
</h:form>
</f:view>
</body>
</html>