RichFaces <a4j:commandLink>It is similar to the JavaServer Faces ( JSF) <h:commandLink> component except that it includes plugged-in Ajax behavior. The <a4j:commandLink> requires only the value attribute to be used. We should use this attribute to set text for the link. Note - The <a4j:commandLink> uses the click event instead of the submit event.ExampleHere, in the following example, we are implementing <a4j:commandLink>component. This example contains the following files. JSF File// commandLink.xhtml Managed Bean// User.java Output:
Next TopicRichFaces <a4j:outputpanel>
|