Author: bayard
Date: Sun Jul 12 05:03:59 2009
New Revision: 793271

URL: http://svn.apache.org/viewvc?rev=793271&view=rev
Log:
Adding commented out section for when you are running integration tests

Modified:
    
jakarta/taglibs/proper/string/trunk/src/main/java/org/apache/taglibs/string/StringTagSupport.java

Modified: 
jakarta/taglibs/proper/string/trunk/src/main/java/org/apache/taglibs/string/StringTagSupport.java
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/proper/string/trunk/src/main/java/org/apache/taglibs/string/StringTagSupport.java?rev=793271&r1=793270&r2=793271&view=diff
==============================================================================
--- 
jakarta/taglibs/proper/string/trunk/src/main/java/org/apache/taglibs/string/StringTagSupport.java
 (original)
+++ 
jakarta/taglibs/proper/string/trunk/src/main/java/org/apache/taglibs/string/StringTagSupport.java
 Sun Jul 12 05:03:59 2009
@@ -22,6 +22,8 @@
 import javax.servlet.jsp.JspWriter;
 import javax.servlet.jsp.tagext.BodyTagSupport;
 
+import javax.servlet.jsp.PageContext;
+
 /**
  * Abstract support class for the String Taglib.
  * It handles the JSP taglib side of things and calls abstract 
@@ -116,6 +118,8 @@
             }
           } else {
             pageContext.setAttribute(this.var, text);
+            // Use the below when running against the integration tests
+            // pageContext.setAttribute(this.var, text, 
PageContext.APPLICATION_SCOPE);
           }
 
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org

Reply via email to