com.sun.rave.web.ui.component
Interface ChildManager

All Known Subinterfaces:
TemplateComponent
All Known Implementing Classes:
TemplateComponentBase

public interface ChildManager

This interface defines a method to find or create a child UIComponent. It is designed to be used in conjunction with UIComponent implementations.

Author:
Ken Paulsen (ken.paulsen@sun.com)
See Also:
TemplateComponent, Util

Method Summary
 javax.faces.component.UIComponent getChild(javax.faces.context.FacesContext context, com.sun.rave.web.ui.component.util.descriptors.LayoutComponent descriptor)
           This method will find the request child UIComponent by id (the id is obtained from the given LayoutComponent).
 

Method Detail

getChild

public javax.faces.component.UIComponent getChild(javax.faces.context.FacesContext context,
                                                  com.sun.rave.web.ui.component.util.descriptors.LayoutComponent descriptor)

This method will find the request child UIComponent by id (the id is obtained from the given LayoutComponent). If it is not found, it will attempt to create it from the supplied LayoutComponent.

Parameters:
context - FacesContext
descriptor - LayoutComponent describing the UIComponent
Returns:
Requested UIComponent