Class EventHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- org.apache.myfaces.view.facelets.tag.faces.core.EventHandler
-
- All Implemented Interfaces:
FaceletHandler
@JSFFaceletTag(name="f:event", bodyContent="empty") public final class EventHandler extends TagHandlerRegisters a listener for a given system event class on the UIComponent associated with this tag.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventHandler.CompositeComponentRelativeListenerstatic classEventHandler.Listenerstatic classEventHandler.SubscribeEventListener
-
Field Summary
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description EventHandler(TagConfig tagConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(FaceletContext ctx, UIComponent parent)-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
EventHandler
public EventHandler(TagConfig tagConfig)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws jakarta.el.ELException, FacesException, FaceletException, IOException
- Throws:
jakarta.el.ELExceptionFacesExceptionFaceletExceptionIOException
-
-