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.component.output.LazyPanelHandler
- All Implemented Interfaces:
FaceletHandler
A handler for
LazyPanel component, which will take care of setting the listener attribute.- Since:
- 5.3
- Author:
- Bauke Scholtz
-
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
ConstructorsConstructorDescriptionLazyPanelHandler(ComponentConfig config) Construct the tag handler forLazyPanelcomponent. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttributes(FaceletContext context, Object component) Delegate to super and then try to get aMethodExpressionrepresenting a method optionally accepting theLazyPanelEventand set it aslistenerproperty of currentLazyPanelcomponent.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
-
LazyPanelHandler
Construct the tag handler forLazyPanelcomponent.- Parameters:
config- The component config.
-
-
Method Details
-
setAttributes
Delegate to super and then try to get aMethodExpressionrepresenting a method optionally accepting theLazyPanelEventand set it aslistenerproperty of currentLazyPanelcomponent.- Overrides:
setAttributesin classDelegatingMetaTagHandler
-