a4j:使用 JSF 2 找不到支持标记
只是尝试将此 commandLink 集成到
<a4j:commandLink reRender="results-view" actionListener="#{myaction}" oncomplete="return false;" value="#{msg1.advanced_search}">
<a4j:support event="onclick">
<f:setPropertyActionListener value="./page.xhtml" target="#{changeViews['new-view'].value}" />
</a4j:support>
</a4j:commandLink>
使用 JSF2 的应用程序上。如果我离开它,我会收到此错误
标签库支持 命名空间:http://richfaces.org/a4j, 但没有为名称定义标签: 支持
我试图在网上找到一些东西,但我无法弄清楚。一些帮助会很棒。
提前致谢
just trying to integrate this commandLink
<a4j:commandLink reRender="results-view" actionListener="#{myaction}" oncomplete="return false;" value="#{msg1.advanced_search}">
<a4j:support event="onclick">
<f:setPropertyActionListener value="./page.xhtml" target="#{changeViews['new-view'].value}" />
</a4j:support>
</a4j:commandLink>
On an applicacion which is using JSF2. If I leave it, I get this error
Tag Library supports
namespace: http://richfaces.org/a4j,
but no tag was defined for name:
support
I was trying to find something on the net, but I couldn't figure out. Some help would be great.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自 RichFaces 4.x 起,
a4j:support
已被a4j:ajax
取代。您似乎正在阅读 RichFaces 3.x 文档或刚刚将 RichFaces 3.x 升级到 4.x。这是非常重要的一步,很多事情都发生了变化。阅读迁移指南(在这种特殊情况下,它在a4j 组件)并阅读新的 RF4 组件参考。
The
a4j:support
has been replaced bya4j:ajax
since RichFaces 4.x.You seem to be reading RichFaces 3.x documentation or just have upgraded RichFaces 3.x to 4.x. This is a pretty major step where a lot of things are been changed. Read the migration guide (in this particular case, it's described in a4j components) and also read the new RF4 component reference.