javax.faces.view
Interface AttachedObjectHandler

All Known Subinterfaces:
ActionSource2AttachedObjectHandler, BehaviorHolderAttachedObjectHandler, EditableValueHolderAttachedObjectHandler, ValueHolderAttachedObjectHandler
All Known Implementing Classes:
BehaviorHandler, ConverterHandler, FaceletsAttachedObjectHandler, ValidatorHandler

public interface AttachedObjectHandler

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 Behavior, Converters, Validators, ValueChangeListeners, and ActionListeners for use by page authors.

Since:
2.0

Method Summary
 void applyAttachedObject(FacesContext context, UIComponent parent)
          

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

 java.lang.String getFor()
          

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

 

Method Detail

applyAttachedObject

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 - The FacesContext for this request
parent - The UIComponent to which this particular attached object must be applied.

getFor

java.lang.String getFor()

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



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.