Package org.primefaces.expression.impl
Class ParentExpressionResolver
java.lang.Object
org.primefaces.expression.impl.ParentExpressionResolver
- All Implemented Interfaces:
SearchExpressionResolver
SearchExpressionResolver
for the "@parent" keyword.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.faces.component.UIComponent
resolveComponent
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression, Set<SearchExpressionHint> hints) Resolves aUIComponent
for the last or sourceUIComponent
and for the given expression string.
-
Constructor Details
-
ParentExpressionResolver
public ParentExpressionResolver()
-
-
Method Details
-
resolveComponent
public javax.faces.component.UIComponent resolveComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, javax.faces.component.UIComponent last, String expression, Set<SearchExpressionHint> hints) Description copied from interface:SearchExpressionResolver
Resolves aUIComponent
for the last or sourceUIComponent
and for the given expression string.- Specified by:
resolveComponent
in interfaceSearchExpressionResolver
- Parameters:
context
- TheFacesContext
.source
- The source component. E.g. a button.last
- The last resolved component in the chain. If it's not a nested expression, it's the same as the source component.expression
- The search expression.hints
- The options.- Returns:
- The resolved
UIComponent
ornull
.
-