你好我在用primeFaces写代码时h:,f:都有提示 唯独p:没有提示 怎么回事啊?你当初时怎么解决的吗?求教

如题所述

primefaces应用需要打包JSF runtime 2.0, 2.1, or 2.2 (比如Apache MyFaces or Oracle Mojarra),否则无法解析p:。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-11-17
PrimeFaces 页面标签组建需要手动添加
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui">本回答被网友采纳
第2个回答  2014-09-25
xmlns:p="http://primefaces.org/ui" 记得在html中导入