public class SearchExpressionFacade extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
IGNORE_NO_RESULT |
static int |
NONE |
static int |
PARENT_FALLBACK |
static int |
VALIDATE_RENDERER
Checks if the
UIComponent has a renderer or not. |
| Constructor and Description |
|---|
SearchExpressionFacade() |
| Modifier and Type | Method and Description |
|---|---|
static javax.faces.component.UIComponent |
resolveComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expression)
Resolves a
UIComponent for the given expression. |
static javax.faces.component.UIComponent |
resolveComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expression,
int options)
Resolves a
UIComponent for the given expression. |
static String |
resolveComponentForClient(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expression)
Resolves a
UIComponent clientId and/or passtrough expression for the given expression. |
static String |
resolveComponentForClient(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expression,
int options)
Resolves a
UIComponent clientId and/or passtrough expression for the given expression. |
static List<javax.faces.component.UIComponent> |
resolveComponents(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expressions)
Resolves a list of
UIComponents for the given expression or expressions. |
static String |
resolveComponentsForClient(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expressions)
Resolves a list of
UIComponent clientIds and/or passtrough expressions for the given expression or expressions. |
static String |
resolveComponentsForClient(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expressions,
int options)
Resolves a list of
UIComponent clientIds and/or passtrough expressions for the given expression or expressions. |
public static final int NONE
public static final int VALIDATE_RENDERER
UIComponent has a renderer or not.
This check is currently only useful for the update attributes, as a component without renderer can't be updated.public static final int IGNORE_NO_RESULT
public static final int PARENT_FALLBACK
public static List<javax.faces.component.UIComponent> resolveComponents(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, String expressions)
UIComponents for the given expression or expressions.context - The FacesContext.source - The source component. E.g. a button.expressions - The search expressions.List with resolved UIComponents.public static String resolveComponentsForClient(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, String expressions)
UIComponent clientIds and/or passtrough expressions for the given expression or expressions.context - The FacesContext.source - The source component. E.g. a button.expressions - The search expressions.List with resolved clientIds and/or passtrough expression (like PFS, widgetVar).public static String resolveComponentsForClient(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, String expressions, int options)
UIComponent clientIds and/or passtrough expressions for the given expression or expressions.context - The FacesContext.source - The source component. E.g. a button.expressions - The search expressions.options - The options.List with resolved clientIds and/or passtrough expression (like PFS, widgetVar).public static String resolveComponentForClient(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, String expression)
UIComponent clientId and/or passtrough expression for the given expression.context - The FacesContext.source - The source component. E.g. a button.expression - The search expression.public static String resolveComponentForClient(javax.faces.context.FacesContext context, javax.faces.component.UIComponent source, String expression, int options)
UIComponent clientId and/or passtrough expression for the given expression.context - The FacesContext.source - The source component. E.g. a button.expression - The search expression.options - The options.public static javax.faces.component.UIComponent resolveComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expression)
UIComponent for the given expression.context - The FacesContext.source - The source component. E.g. a button.expression - The search expression.UIComponent or null.public static javax.faces.component.UIComponent resolveComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source,
String expression,
int options)
UIComponent for the given expression.context - The FacesContext.source - The source component. E.g. a button.expression - The search expression.options - The options.UIComponent or null.Copyright © 2014. All rights reserved.