【问题标题】:Does RichFaces 4.0 contain notifyMessages?RichFaces 4.0 是否包含 notifyMessages?
【发布时间】:2013-07-18 19:37:18
【问题描述】:

我正在关注这个链接来了解richfaces:http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=notify&sample=notifyMessages&skin=blueSky

但问题是,当我尝试使用rich:notify 或rich:notifyMessages 时,我收到一条错误消息,提示“组件库http://richfaces.org/rich 不包含组件notifyMessages”。谁能告诉我为什么?我可以使用richfaces的其他组件,但是这里没有通知组件。

谢谢

【问题讨论】:

  • 确保您使用的是 RichFaces 4 库而不是 RichFaces 3 或更早版本
  • @LuiggiMendoza 我很确定,除了这个还有其他问题吗?
  • 确保 RichFaces 库设置在 WEB-INF/lib 文件夹中。

标签: jsf richfaces


【解决方案1】:

rich:notify* 组件在 RichFaces 4.1 中引入。 参考文档: http://docs.jboss.org/richfaces/latest_4_0_X/Component_Reference/en-US/html/ (rich:notify 未列出) http://docs.jboss.org/richfaces/latest_4_1_X/Component_Reference/en-US/html/ (rich:notify 在那里)

【讨论】:

    猜你喜欢
    • 2013-02-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-17
    • 2014-06-23
    • 2011-08-21
    • 2011-11-13
    相关资源
    最近更新 更多