【问题标题】:Primefaces rating component with JSF2使用 JSF2 的 Primefaces 评级组件
【发布时间】:2012-08-16 17:45:24
【问题描述】:

我正在尝试将 primefaces 3.3 与 JSF 2 一起使用。当我尝试访问页面时,组件没有显示出来。

页面有一些JS错误。

Uncaught ReferenceError: $ is not defined :

Uncaught ReferenceError: PrimeFaces 未定义

<p:rating starts="10"/>

有什么想法吗?

【问题讨论】:

    标签: primefaces


    【解决方案1】:

    将 h:head 添加到您的页面。见;

    http://www.primefaces.org/gettingStarted.html

    【讨论】:

      猜你喜欢
      • 2014-08-03
      • 2015-04-25
      • 2011-08-25
      • 1970-01-01
      • 2012-09-10
      • 1970-01-01
      • 2019-03-02
      • 2022-06-29
      • 2011-12-05
      相关资源
      最近更新 更多