Top Description Fields Constructors Methods
javax.faces.view.facelets

public abstract Class FaceletsAttachedObjectHandler

extends DelegatingMetaTagHandler
implements AttachedObjectHandler
Class Inheritance
All Implemented Interfaces
javax.faces.view.AttachedObjectHandler
Known Direct Subclasses
javax.faces.view.facelets.ValidatorHandler, javax.faces.view.facelets.BehaviorHandler, javax.faces.view.facelets.ConverterHandler
Imports
javax.faces.component.UIComponent, javax.faces.context.FacesContext, javax.faces.view.AttachedObjectHandler

Root class for all tag handlers that represent attached objetcts in a Facelets page.

Field Summary

Inherited from javax.faces.view.facelets.DelegatingMetaTagHandler:
delegateFactory

Constructor Summary

AccessConstructor and Description
public
FaceletsAttachedObjectHandler(TagConfig
configure this handler instance
config
)

Call through to super

Method Summary

Modifier and TypeMethod and Description
public final void
applyAttachedObject(FacesContext
the FacesContext for this request
ctx
,
UIComponent
The UIComponent to which this attached object must be applied.
parent
)

Implements javax.faces.view.AttachedObjectHandler.applyAttachedObject.

Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument parent.

protected final AttachedObjectHandler

Returns:

the handler instance
getAttachedObjectHandlerHelper
()

Return the underlying handler for this tag handler instance.

public final String
getFor()

Implements javax.faces.view.AttachedObjectHandler.getFor.

Return the value of the "for" attribute.

Inherited from javax.faces.view.facelets.DelegatingMetaTagHandler:
applyapplyNextHandlercreateMetaRulesetgetBindinggetTaggetTagAttributegetTagHandlerDelegategetTagIdisDisabledsetAttributes

Constructor Detail

FaceletsAttachedObjectHandlerback to summary
public FaceletsAttachedObjectHandler(TagConfig config)

Call through to super

Parameters
config:TagConfig

configure this handler instance

Method Detail

applyAttachedObjectback to summary
public final void applyAttachedObject(FacesContext ctx, UIComponent parent)

Implements javax.faces.view.AttachedObjectHandler.applyAttachedObject.

Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument parent.

Parameters
ctx:FacesContext

the FacesContext for this request

parent:UIComponent

The UIComponent to which this attached object must be applied.

Annotations
@Override
getAttachedObjectHandlerHelperback to summary
protected final AttachedObjectHandler getAttachedObjectHandlerHelper()

Return the underlying handler for this tag handler instance.

Returns:AttachedObjectHandler

the handler instance

getForback to summary
public final String getFor()

Implements javax.faces.view.AttachedObjectHandler.getFor.

Return the value of the "for" attribute. This enables the runtime to know to which inner component this attached object should be retargeted.

Returns:String

Doc from javax.faces.view.AttachedObjectHandler.getFor.

the value of the "for" attribute for this attached object

Annotations
@Override