fixed canRead breakage

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3249 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2010-04-15 16:13:50 +00:00
parent c6ce541d29
commit b2f470b6f9
2 changed files with 8 additions and 4 deletions
@@ -155,8 +155,8 @@ public class EvalTag extends HtmlEscapingAwareTag {
}
public boolean canRead(EvaluationContext context, Object target, String name) throws AccessException {
return (target == null && (resolveImplicitVariable(name) != null) ||
this.pageContext.findAttribute(name) != null);
return (target == null &&
(resolveImplicitVariable(name) != null || this.pageContext.findAttribute(name) != null));
}
public TypedValue read(EvaluationContext context, Object target, String name) throws AccessException {