Package | Description |
---|---|
javax.faces.component | |
javax.faces.component.visit |
Modifier and Type | Method and Description |
---|---|
boolean |
UINamingContainer.visitTree(VisitContext context,
VisitCallback callback) |
boolean |
UIForm.visitTree(VisitContext context,
VisitCallback callback) |
boolean |
UIData.visitTree(VisitContext context,
VisitCallback callback)
Overrides the behavior in
UIComponent.visitTree(javax.faces.component.visit.VisitContext, javax.faces.component.visit.VisitCallback)
to handle iteration correctly.
|
boolean |
UIComponentBase.visitTree(VisitContext context,
VisitCallback callback) |
boolean |
UIComponent.visitTree(VisitContext context,
VisitCallback callback)
The visit tree method, visit tree walks over a subtree and processes
the callback object to perform some operation on the subtree
there are some details in the implementation which according to the spec have
to be in place:
a) before calling the callback and traversing into the subtree pushComponentToEL
has to be called
b) after the processing popComponentFromEL has to be performed to remove the component
from the el
The tree traversal optimizations are located in the visit context and can be replaced
via the VisitContextFactory in the faces-config factory section
|
Modifier and Type | Method and Description |
---|---|
VisitResult |
VisitContextWrapper.invokeVisitCallback(UIComponent component,
VisitCallback callback) |
abstract VisitResult |
VisitContext.invokeVisitCallback(UIComponent component,
VisitCallback callback) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.