org.apache.myfaces.commons.util
Class ComponentUtils

java.lang.Object
  extended by org.apache.myfaces.commons.util.ComponentUtils

public class ComponentUtils
extends Object

Since:
1.0.2

Constructor Summary
ComponentUtils()
           
 
Method Summary
static javax.faces.component.UIComponent findParentNamingContainer(javax.faces.component.UIComponent component)
          Return the parent NamingContainer of the component passed as argument.
static javax.faces.component.UIComponent findParentNamingContainer(javax.faces.component.UIComponent component, boolean returnRootIfNotFound)
          Return the parent NamingContainer of the component passed as argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentUtils

public ComponentUtils()
Method Detail

findParentNamingContainer

public static javax.faces.component.UIComponent findParentNamingContainer(javax.faces.component.UIComponent component)
Return the parent NamingContainer of the component passed as argument.

Parameters:
component -
Returns:

findParentNamingContainer

public static javax.faces.component.UIComponent findParentNamingContainer(javax.faces.component.UIComponent component,
                                                                          boolean returnRootIfNotFound)
Return the parent NamingContainer of the component passed as argument.

Parameters:
component -
returnRootIfNotFound -
Returns:


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.