Difference between a4j:commandLink and h:commandLink

做~自己de王妃 提交于 2019-12-11 06:16:27

问题


Title says everything.

What is the difference between a4j:commandLink and h:commandLink?


回答1:


From richfaces docs

The <a4j:commandLink> component is very similar to the <h:commandLink> component, the only difference is that an Ajax form submit is generated on a click and it allows dynamic rerendering after a response comes back. It's not necessary to plug any support into the component, as Ajax support is already built in.

More info about h:commandLink here and a4j here.

Read both and you will be able to make your own conclusions.



来源:https://stackoverflow.com/questions/5018887/difference-between-a4jcommandlink-and-hcommandlink

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!