Can';使用JSF1.2运行PrimeFaces1.1
我试图将primefaces1.1与jsf1.2一起使用 通过将JAR添加到类路径,因为primefaces不需要任何配置,我的jsp页面如下所示:Can';使用JSF1.2运行PrimeFaces1.1,jsf,primefaces,jsf-1.2,Jsf,Primefaces,Jsf 1.2,我试图将primefaces1.1与jsf1.2一起使用 通过将JAR添加到类路径,因为primefaces不需要任何配置,我的jsp页面如下所示: <?xml version="1.0" encoding="UTF-8"?> <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ui="http://www.sun.com/web/ui"
xmlns:p="http://primefaces.prime.com.tr/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8"/>
<f:view>
<ui:page id="page1">
<ui:html id="html1">
<body id="body1">
<ui:form binding="#{MyBean.gform}">
<p:commandButton id="basic" value="Basic" onclick="dlg1.show();" type="button" />
<p:dialog id="basicDialog" header="Basic Dialog" widgetVar="dlg1">
<h:outputText value="Resistance to PrimeFaces is futile!" />
</p:dialog>
如果你想让PrimeFaces包含他的JavaScript和CSS文件,你需要将
添加到头部
,所以我只添加标签?@MahmoudSaleh通过搜索我已经完成了,看起来是的,但我还没有测试过。
The value of the property 'jQuery' is null or undefined, not a Function object