Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib
In directory james.mmbase.org:/tmp/cvs-serv31540

Modified Files:
        ContextTag.java 
Log Message:
<mm:context> </mm:context> should behave excactly like <mm:context />


See also: 
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib


Index: ContextTag.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/ContextTag.java,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- ContextTag.java     18 Jul 2007 07:50:47 -0000      1.90
+++ ContextTag.java     7 Oct 2008 09:52:42 -0000       1.91
@@ -43,7 +43,7 @@
  * </p>
  *
  * @author Michiel Meeuwissen
- * @version $Id: ContextTag.java,v 1.90 2007/07/18 07:50:47 michiel Exp $
+ * @version $Id: ContextTag.java,v 1.91 2008/10/07 09:52:42 michiel Exp $
  * @see ImportTag
  * @see WriteTag
  */
@@ -312,7 +312,6 @@
         if (log.isDebugEnabled()) {
             log.debug("after body of context " + getId());
         }
-        getContextContainer().release(pageContext, 
getContextProvider().getContextContainer()); // remove the vars from 
'page-context' again if necessary.
         // just to serve lousy app-server which do not support 
EVAL_BODY_INCLUDE
         if (EVAL_BODY == EVAL_BODY_BUFFERED) {
             try {
@@ -327,6 +326,7 @@
     }
 
     public int doEndTag() throws JspTagException {
+        getContextContainer().release(pageContext, 
getContextProvider().getContextContainer()); // remove the vars from 
'page-context' again if necessary.
         cloudContext = null;
         return super.doEndTag();
     }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to