webwork/src/main/webwork/view/taglib ActionTag.java,1.5.2.1,1.5.2.2 PropertyTag.java,1.5.2.2,1.5.2.3

[email protected] Mon, 27 May 2002 04:41:01 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/main/webwork/view/taglib
In directory usw-pr-cvs1:/tmp/cvs-serv13941

Modified Files:
      Tag: branch-release-1-0-3
	ActionTag.java PropertyTag.java 
Log Message:
moved reset logic to doEndTag()

Index: ActionTag.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/taglib/ActionTag.java,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -d -r1.5.2.1 -r1.5.2.2
--- ActionTag.java	21 May 2002 03:27:18 -0000	1.5.2.1
+++ ActionTag.java	27 May 2002 11:40:59 -0000	1.5.2.2
@@ -144,12 +144,13 @@
       // If the action has not been executed yet, it will be now
       holder.getValue();
 
+      ActionContext.setContext(oldContext);
+
       return EVAL_PAGE;
    }
 
    public void release()
    {
-      ActionContext.setContext(oldContext);
       oldContext = null;
       context = null;
       bean = null;

Index: PropertyTag.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/taglib/PropertyTag.java,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -d -r1.5.2.2 -r1.5.2.3
--- PropertyTag.java	23 May 2002 13:52:05 -0000	1.5.2.2
+++ PropertyTag.java	27 May 2002 11:40:59 -0000	1.5.2.3
@@ -132,15 +132,15 @@
             new ServletException("Could not show value " + valueAttr, e);
          }
       }
+      escape=null;
+      hadBody=false;
 
       return EVAL_PAGE;
    }
 
    public void release()
    {
-      escape = null;
       valueAttr = null;
-      hadBody = false;
       super.release();
    }
 }



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm