public class ComponentExtraHandler
extends javax.faces.view.facelets.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>
Constructor and Description |
---|
ComponentExtraHandler(javax.faces.view.facelets.ComponentConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
setAttributes(javax.faces.view.facelets.FaceletContext ctx,
Object component) |
createComponent, getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated, onComponentPopulated
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled
public ComponentExtraHandler(javax.faces.view.facelets.ComponentConfig config)
public void setAttributes(javax.faces.view.facelets.FaceletContext ctx, Object component)
setAttributes
in class javax.faces.view.facelets.DelegatingMetaTagHandler
Copyright © 2012–2014 OmniFaces. All rights reserved.