jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hor...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/javascript JavascriptExpressionEvaluator.java
Date Wed, 21 Nov 2001 22:56:03 GMT
horwat      01/11/21 14:56:02

  Modified:    standard/src/org/apache/taglibs/standard/lang/javascript
                        JavascriptExpressionEvaluator.java
  Log:
  Remove request parameters from scope. Change scope search order.
  
  Revision  Changes    Path
  1.2       +3 -4      jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/javascript/JavascriptExpressionEvaluator.java
  
  Index: JavascriptExpressionEvaluator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/lang/javascript/JavascriptExpressionEvaluator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JavascriptExpressionEvaluator.java	2001/11/21 07:38:48	1.1
  +++ JavascriptExpressionEvaluator.java	2001/11/21 22:56:02	1.2
  @@ -100,11 +100,10 @@
   	Scriptable scope = cx.initStandardObjects(null);
   
           // Put PageContext attributes/parameters in Rhino Scope
  -        putAttributesInScope(scope, cx, pageContext, PageContext.PAGE_SCOPE);
  -        putAttributesInScope(scope, cx, pageContext, PageContext.REQUEST_SCOPE);
  -        putAttributesInScope(scope, cx, pageContext, PageContext.SESSION_SCOPE);
           putAttributesInScope(scope, cx, pageContext, PageContext.APPLICATION_SCOPE);
  -        putParametersInScope(scope, cx, pageContext);
  +        putAttributesInScope(scope, cx, pageContext, PageContext.SESSION_SCOPE);
  +        putAttributesInScope(scope, cx, pageContext, PageContext.REQUEST_SCOPE);
  +        putAttributesInScope(scope, cx, pageContext, PageContext.PAGE_SCOPE);
   
   
   	// Evaluate string
  
  
  

--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message