public final class VisitTreeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
visitSingleComponent(javax.faces.context.FacesContext facesContext,
String clientId,
VisitCallback visitCallback)
Visit a single component in the component tree starting from the view root.
|
public static boolean visitSingleComponent(javax.faces.context.FacesContext facesContext,
String clientId,
VisitCallback visitCallback)
Method assumes the RequestContext is available and a view root must be set on the faces context.
facesContext - the faces contextclientId - the client ID of the component to visitvisitCallback - the callback to be invoked if the component is foundCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.