It combines the functionalities of the JavaServer Faces ( JSF) components <f:param> and <f:actionListener>. It can be used with non-Ajax components in addition to Ajax components. It includes components such as the <h:link> and <h:button> components.
The <a4j:param> requires the following attributes.
Here, in the following example, we are implementing <a4j:param> component. This example contains the following files.
A new parameter is set after clicking the button.