问题
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