java.lang.Object
jakarta.faces.view.facelets.TagHandler
jakarta.faces.view.facelets.MetaTagHandler
jakarta.faces.view.facelets.DelegatingMetaTagHandler
jakarta.faces.view.facelets.ComponentHandler
org.omnifaces.taghandler.ComponentExtraHandler
- All Implemented Interfaces:
FaceletHandler
Handler that can be used by components which wish to receive various extra services.
Those extra services consist of:
- Receiving the
FaceletContextfor the Facelet in which the component appears
The handler has to be used alongside a component declaration in a Facelets *-taglib.xml, e.g.
<tag>
<tag-name>someComponent</tag-name>
<component>
<component-type>com.example.SomeComponent</component-type>
<handler-class>org.omnifaces.taghandler.ComponentExtraHandler</handler-class>
</component>
</tag>
- Since:
- 2.0
- Author:
- Arjan Tijms
-
Field Summary
Fields inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
delegateFactoryFields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.faces.view.facelets.ComponentHandler
createComponent, getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated, onComponentPopulatedMethods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabledMethods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
ComponentExtraHandler
The tag constructor.- Parameters:
config- The tag config.
-
-
Method Details
-
setAttributes
- Overrides:
setAttributesin classDelegatingMetaTagHandler
-