IT. Expert System.

Java Enterprise Edition (EE)

AttachedObjectTarget


javax.faces.view
Interface AttachedObjectTarget

All Known Subinterfaces:
ActionSource2AttachedObjectTarget, BehaviorHolderAttachedObjectTarget, EditableValueHolderAttachedObjectTarget, ValueHolderAttachedObjectTarget
public interface AttachedObjectTarget

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: Behavior, ValueHolder, EditableValueHolder and ActionSource2. The default VDL implementation must provide a corresponding Facelets tag handler for each of the subinterfaces of this interface.

Since:
2.0

Field Summary
static java.lang.String ATTACHED_OBJECT_TARGETS_KEY
          

The key in the value set of the composite component BeanDescriptor, the value for which is a List<AttachedObjectTarget>.

 
Method Summary
 java.lang.String getName()
          

Returns the name by which this attached object target is exposed to the page author.

 java.util.List<UIComponent> getTargets(UIComponent topLevelComponent)
          

Returns the List<UIComponent> that this AttachedObjectTarget exposes.

 

Field Detail

ATTACHED_OBJECT_TARGETS_KEY

static final java.lang.String ATTACHED_OBJECT_TARGETS_KEY

The key in the value set of the composite component BeanDescriptor, the value for which is a List<AttachedObjectTarget>.

See Also:
Constant Field Values
Method Detail

getTargets

java.util.List<UIComponent> getTargets(UIComponent topLevelComponent)

Returns the List<UIComponent> that this AttachedObjectTarget exposes. Each attached object exposed by the composite component author may point at multiple UIComponent instances within the composite component. This method is used by the ViewDeclarationLanguage.retargetAttachedObjects(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.util.List) method to take the appropriate action on the attached object.

getName

java.lang.String getName()

Returns the name by which this attached object target is exposed to the page author.



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 625 / . Delta: 0.03607 с