webwork/src/main/webwork/view/taglib/ui ComponentTag.java,1.6,1.7

[email protected] Thu, 23 May 2002 06:14:17 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/main/webwork/view/taglib/ui
In directory usw-pr-cvs1:/tmp/cvs-serv16051

Modified Files:
	ComponentTag.java 
Log Message:
moved popStack() to a finally block in doEndTag()

Index: ComponentTag.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/taglib/ui/ComponentTag.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ComponentTag.java	21 May 2002 03:30:22 -0000	1.6
+++ ComponentTag.java	23 May 2002 13:14:15 -0000	1.7
@@ -140,12 +140,15 @@
          return EVAL_PAGE;
       } catch (Exception e) {
          throw new JspTagException("Including component failed:" + toString(e));
+      } finally {
+         getStack().popValue();
+         params = new HashMap();
       }
    }
 
    public void release() {
-      getStack().popValue();
-      params = new HashMap();
+      //getStack().popValue();
+      //params = new HashMap();
       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