a4j:commandLink is similar to the standard h:commandLink, but produces an Ajax request with further partial page update. 'reRender' attribute point to the component(s) that should be re-rendered in the component tree and updated in the browser DOM after the Ajax Response is complete.

The following example shows how the greeting message is shown on the screen without refreshing the entire page:

CommandLink Demo

For additional information about attributes of this component read .