Class EventHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- com.sun.faces.facelets.tag.faces.core.EventHandler
-
- All Implemented Interfaces:
FaceletHandler
public class EventHandler extends TagHandler
This is the TagHandler for the f:event tag.
-
-
Field Summary
Fields Modifier and Type Field Description protected TagAttribute
listener
protected TagAttribute
type
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description EventHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
Process changes on a particular UIComponentprotected Class<? extends SystemEvent>
getEventClass(FaceletContext ctx)
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Field Detail
-
type
protected final TagAttribute type
-
listener
protected final TagAttribute listener
-
-
Constructor Detail
-
EventHandler
public EventHandler(TagConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
Description copied from interface:FaceletHandler
Process changes on a particular UIComponent
- Parameters:
ctx
- the current FaceletContext instance for this executionparent
- the parent UIComponent to operate upon- Throws:
IOException
- if unable to loadrelativePath
-
getEventClass
protected Class<? extends SystemEvent> getEventClass(FaceletContext ctx)
-
-