public abstract class FaceletsAttachedObjectHandler extends DelegatingMetaTagHandler implements AttachedObjectHandler
Root class for all tag handlers that represent attached objetcts in a Facelets page.
delegateFactory
nextHandler, tag, tagId
Constructor and Description |
---|
FaceletsAttachedObjectHandler(TagConfig config)
Call through to super
|
Modifier and Type | Method and Description |
---|---|
void |
applyAttachedObject(FacesContext ctx,
UIComponent parent)
Take the necessary actions to apply
the attached object represented by the tag for the concrete
subclass of this class to the argument |
protected AttachedObjectHandler |
getAttachedObjectHandlerHelper()
Return the underlying handler for this tag handler instance. |
java.lang.String |
getFor()
Return the value of the "for" attribute. |
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagHandlerDelegate, getTagId, isDisabled, setAttributes
getAttribute, getRequiredAttribute, toString
public FaceletsAttachedObjectHandler(TagConfig config)
Call through to super
config
- configure this handler instanceprotected final AttachedObjectHandler getAttachedObjectHandlerHelper()
Return the underlying handler for this tag handler instance.
public final void applyAttachedObject(FacesContext ctx, UIComponent parent)
Take the necessary actions to apply
the attached object represented by the tag for the concrete
subclass of this class to the argument parent
.
applyAttachedObject
in interface AttachedObjectHandler
ctx
- the FacesContext
for this requestparent
- The UIComponent
to which this attached
object must be applied.public final java.lang.String getFor()
Return the value of the "for" attribute. This enables the runtime to know to which inner component this attached object should be retargeted.
getFor
in interface AttachedObjectHandler