* See the class javadocs.
*/
public Object resolveVariable(FacesContext context, String name)
throws EvaluationException {
Object result = null;
ELResolverChainType type = ELResolverChainType.Faces;
Object valueObject = RequestStateManager.get(context,
RequestStateManager.EL_RESOLVER_CHAIN_TYPE_NAME);
if (null != valueObject &&
valueObject instanceof ELResolverChainType) {
type = (ELResolverChainType) valueObject;