public class ComponentExtraHandler extends ComponentHandler
Those extra services consist of:
FaceletContext
for 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>
delegateFactory
nextHandler, tag, tagId
Constructor and Description |
---|
ComponentExtraHandler(ComponentConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
setAttributes(FaceletContext ctx,
Object component) |
createComponent, getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated, onComponentPopulated
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled
getAttribute, getRequiredAttribute, toString
public ComponentExtraHandler(ComponentConfig config)
public void setAttributes(FaceletContext ctx, Object component)
setAttributes
in class DelegatingMetaTagHandler
Copyright © 2012–2015 OmniFaces. All rights reserved.