Within the declaration of a
composite component, an AttachedObjectTarget
allows the composite component author to expose the
semantics of an inner component to the page author without
exposing the rendering or implementation details of the inner
component. See ViewDeclarationLanguage#getComponentMetadata for the context in
which implementations of this interface are used.
The implementation must ensure that this instance is thread safe and may be shared among different component trees.
Subinterfaces are provided for the common behavioral interfaces:
javax.faces.component.behavior.Behavior, javax.faces.component.ValueHolder, javax.faces.component.EditableValueHolder and javax.faces.component.ActionSource2. The default VDL implementation
must provide a corresponding Facelets tag handler for each of the
subinterfaces of this interface.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ATTACHED_OBJECT_TARGETS_KEY
The key in the value set of the
composite component |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the name of the attached object targetReturns the name by which this attached object target is exposed to the page author. |
| public List | Returns: the result as specified abovethe top level component for this
composite component. topLevelComponent)Returns the
|
| ATTACHED_OBJECT_TARGETS_KEY | back to summary |
|---|---|
| public static final String ATTACHED_OBJECT_TARGETS_KEY The key in the value set of the
composite component | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name by which this attached object target is exposed to the page author.
| |
| getTargets | back to summary |
|---|---|
| public List Returns the
| |