jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/core SetSupport.java
Date Fri, 19 Apr 2002 00:32:38 GMT
shawn       02/04/18 17:32:38

  Modified:    standard/src/org/apache/taglibs/standard/tag/common/core
                        SetSupport.java
  Log:
  Minor bug fix.
  
  Revision  Changes    Path
  1.6       +4 -3      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/core/SetSupport.java
  
  Index: SetSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/core/SetSupport.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SetSupport.java	18 Apr 2002 23:08:40 -0000	1.5
  +++ SetSupport.java	19 Apr 2002 00:32:38 -0000	1.6
  @@ -141,12 +141,13 @@
   	     * HttpSession existing).
                */
   	    if (result != null) {
  +	        pageContext.setAttribute(var, result, scope);
  +	    } else {
   		if (scopeSpecified)
  -	            pageContext.setAttribute(var, result, scope);
  +		    pageContext.removeAttribute(var, scope);
   		else
   		    pageContext.removeAttribute(var);
  -	    } else
  -		pageContext.removeAttribute(var);
  +	    }
   
   	} else if (target != null) {
   
  
  
  

--
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