Index: src/main/org/jboss/seam/util/EL.java =================================================================== --- src/main/org/jboss/seam/util/EL.java (revision 11606) +++ src/main/org/jboss/seam/util/EL.java (working copy) @@ -35,7 +35,7 @@ return resolver; } - private static ELContext createELContext() + public static ELContext createELContext() { return new ELContext() { Index: src/main/org/jboss/seam/util/UnifiedELValueBinding.java =================================================================== --- src/main/org/jboss/seam/util/UnifiedELValueBinding.java (revision 11606) +++ src/main/org/jboss/seam/util/UnifiedELValueBinding.java (working copy) @@ -1,7 +1,6 @@ package org.jboss.seam.util; -import static org.jboss.seam.util.EL.EL_CONTEXT; - +import javax.el.ELContext; import javax.el.ValueExpression; import javax.faces.context.FacesContext; import javax.faces.el.EvaluationException; @@ -9,14 +8,17 @@ import javax.faces.el.ValueBinding; import org.jboss.seam.jsf.SeamExpressionFactory; +import org.jboss.seam.util.EL; public class UnifiedELValueBinding extends ValueBinding { private ValueExpression ve; + private ELContext elContext; public UnifiedELValueBinding(String expression) { - ve = SeamExpressionFactory.INSTANCE.createValueExpression(EL_CONTEXT, expression, Object.class); + elContext = EL.createELContext(); + ve = SeamExpressionFactory.INSTANCE.createValueExpression(elContext, expression, Object.class); } @Override @@ -27,22 +29,22 @@ @Override public Class getType(FacesContext ctx) throws EvaluationException, PropertyNotFoundException { - return ve.getType(EL_CONTEXT); + return ve.getType(elContext); } @Override public Object getValue(FacesContext ctx) throws EvaluationException, PropertyNotFoundException { - return ve.getValue(EL_CONTEXT); + return ve.getValue(elContext); } @Override public boolean isReadOnly(FacesContext ctx) throws EvaluationException, PropertyNotFoundException { - return ve.isReadOnly(EL_CONTEXT); + return ve.isReadOnly(elContext); } @Override public void setValue(FacesContext ctx, Object value) throws EvaluationException, PropertyNotFoundException { - ve.setValue(EL_CONTEXT, value); + ve.setValue(elContext, value); } @Override @@ -50,4 +52,4 @@ { return ve.getExpressionString(); } -} \ No newline at end of file +}