Top Description Methods
jakarta.faces.view

public Interface AttachedObjectHandler

Known Direct Subinterfaces
jakarta.faces.view.ActionSource2AttachedObjectHandler, jakarta.faces.view.BehaviorHolderAttachedObjectHandler, jakarta.faces.view.ValueHolderAttachedObjectHandler
Known Direct Implementers
jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
Imports
jakarta.faces.component.UIComponent, jakarta.faces.context.FacesContext

The abstract base interface for a handler representing an attached object in a VDL page. Subinterfaces are provided for the common attached objects that expose jakarta.faces.component.behavior.Behavior, jakarta.faces.convert.Converters, jakarta.faces.validator.Validators, jakarta.faces.event.ValueChangeListeners, and jakarta.faces.event.ActionListeners for use by page authors.

Since
2.0

Method Summary

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

Take the argument parent and apply this attached object to it.

public String

Returns:

the value of the "for" attribute for this attached object
getFor
()

Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.

Method Detail

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

Take the argument parent and apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.

Parameters
context:FacesContext

The FacesContext for this request

parent:UIComponent

The UIComponent to which this particular attached object must be applied.

getForback to summary
public String getFor()

Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.

Returns:String

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