1 16 package org.apache.myfaces.config; 17 18 import javax.faces.el.VariableResolver; 19 import javax.faces.el.EvaluationException; 20 import javax.faces.context.FacesContext; 21 22 23 26 public class TestVariableResolver extends VariableResolver 27 { 28 29 private VariableResolver delegate; 30 31 32 public TestVariableResolver(VariableResolver delegate) 33 { 34 this.delegate = delegate; 35 } 36 37 38 public Object resolveVariable(FacesContext facesContext, String name) throws EvaluationException 40 { 41 return delegate.resolveVariable(facesContext, name); 42 } 43 44 45 public VariableResolver getDelegate() 46 { 47 return delegate; 48 } 49 } 50 | Popular Tags |