使用JSF 2找不到a4j:support标签 [英] a4j:support tag not found using JSF 2

查看:267
本文介绍了使用JSF 2找不到a4j:support标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅尝试集成此命令链接

<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的应用程序中.如果我离开它,则会收到此错误

On an applicacion which is using JSF2. If I leave it, I get this error

标记库支持 命名空间: http://richfaces.org/a4j , 但没有为名称定义标签: 支持

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

推荐答案

自RichFaces 4.x起,a4j:support已由a4j:ajax替换.

The a4j:support has been replaced by a4j:ajax since RichFaces 4.x.

您似乎正在阅读RichFaces 3.x文档,或者刚刚将RichFaces 3.x升级到了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.

这篇关于使用JSF 2找不到a4j:support标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆