5.5. <a4j:commandLink>
The
<a4j:commandLink> component is similar to the JavaServer Faces (JSF) <h:commandLink> component, except that it includes plugged-in Ajax behavior.
Note
Link controls are typically used to perform complete form submissions for data storing. As a consequence, the
<a4j:commandLink> component has the execute="@form" setting by default. To limit rendering to a different scope, redefine the execute attribute.
5.5.1. Basic usage
The
<a4j:commandLink> requires only the value attribute to function. Use the value attribute to specify the text of the link.
The
<a4j:commandLink> uses the click event instead of the submit event.
5.5.2. Reference data
component-type:org.richfaces.CommandLinkcomponent-class:org.richfaces.component.UICommandLinkcomponent-family:javax.faces.Commandrenderer-type:org.richfaces.CommandLinkRenderer
