| org.springframework.webflow.executor.jsf.DelegatingFlowVariableResolver
DelegatingFlowVariableResolver | public class DelegatingFlowVariableResolver extends VariableResolver (Code) | | Custom variable resolver that searches the current flow execution for variables to resolve. The search algorithm
looks in flash scope first, then flow scope, then conversation scope. If no variable is found this resolver delegates
to the next resolver in the chain.
Suitable for use along side other variable resolvers to support EL binding expressions like {#bean.property} where
"bean" could be a property in any supported scope.
Consider combining use of this class with a Spring
DelegatingVariableResolver to also support
lazy-initialized binding variables managed by a Spring application context using custom bean scopes. Also consider
such a Spring-backed managed bean facility as the sole-provider for centralized JSF managed bean references.
author: Keith Donald |
Constructor Summary | |
public | DelegatingFlowVariableResolver(VariableResolver resolverDelegate) Create a new FlowExecutionVariableResolver, using the given original VariableResolver. |
DelegatingFlowVariableResolver | public DelegatingFlowVariableResolver(VariableResolver resolverDelegate)(Code) | | Create a new FlowExecutionVariableResolver, using the given original VariableResolver.
A JSF implementation will automatically pass its original resolver into the constructor of a configured resolver,
provided that there is a corresponding constructor argument.
Parameters: resolverDelegate - the original VariableResolver |
getResolverDelegate | final protected VariableResolver getResolverDelegate()(Code) | | Return the original VariableResolver that this resolver delegates to.
|
resolveVariable | public Object resolveVariable(FacesContext context, String name) throws EvaluationException(Code) | | |
|
|