a4j:htmlCommandLink 在 RichFaces 4 中

a4j:htmlCommandLink in RichFaces 4

我一直在迁移到 RichFaces 4.5.2,在将页面解析为 xhtml 格式时,我 运行 出现以下错误:

Tag Library supports namespace: http://richfaces.org/a4j, but no tag was defined for name: htmlCommandLink

我的问题是这个组件在RichFaces 4 中的re-placer 是什么?

RichFaces 4 似乎删除了 a4j:htmlCommandLink,因为它不包含在 component reference 中。

在我看来,您可以使用 <a4j:commandLink>:

The <a4j:commandLink> component is similar to the JavaServer Faces (JSF) <h:commandLink> component, except that it includes plugged-in Ajax behavior.