Package jakarta.faces.event
Interface ActionListener
- All Superinterfaces:
EventListener,FacesListener
- All Known Implementing Classes:
ActionListenerWrapper,MethodExpressionActionListener
A listener interface for receiving
ActionEvents. An implementation of this interface must be thread-safe.
A class that is interested in receiving such events implements this interface, and then registers itself with the
source UIComponent of interest, by calling addActionListener().
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe presence of this component attribute on anActionSourcecomponent will cause the defaultActionListenerto interpret the value of the attribute as the toFlowDocumentId value to pass toNavigationHandler.handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String, java.lang.String). -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessAction(ActionEvent event) Invoked when the action described by the specifiedActionEventoccurs.
-
Field Details
-
TO_FLOW_DOCUMENT_ID_ATTR_NAME
The presence of this component attribute on an
ActionSourcecomponent will cause the defaultActionListenerto interpret the value of the attribute as the toFlowDocumentId value to pass toNavigationHandler.handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String, java.lang.String).- See Also:
-
-
Method Details
-
processAction
Invoked when the action described by the specified
ActionEventoccurs.- Parameters:
event- TheActionEventthat has occurred- Throws:
AbortProcessingException- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
-