Update of
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/containers
In directory james.mmbase.org:/tmp/cvs-serv32615/containers
Modified Files:
Tag: MMBase-1_8
RelatedNodesContainerTag.java ListNodesContainerTag.java
Log Message:
MMB-1610
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/containers
See also: http://www.mmbase.org/jira/browse/MMB-1610
Index: RelatedNodesContainerTag.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/containers/RelatedNodesContainerTag.java,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -b -r1.14.2.1 -r1.14.2.2
--- RelatedNodesContainerTag.java 26 Feb 2008 16:57:06 -0000 1.14.2.1
+++ RelatedNodesContainerTag.java 26 Feb 2008 17:05:15 -0000 1.14.2.2
@@ -26,7 +26,7 @@
*
* @author Michiel Meeuwissen
* @since MMBase-1.7
- * @version $Id: RelatedNodesContainerTag.java,v 1.14.2.1 2008/02/26 16:57:06
michiel Exp $
+ * @version $Id: RelatedNodesContainerTag.java,v 1.14.2.2 2008/02/26 17:05:15
michiel Exp $
*/
public class RelatedNodesContainerTag extends ListNodesContainerTag {
@@ -115,9 +115,6 @@
if (jspVar != null) {
pageContext.setAttribute(jspVar, query);
}
- if (markused.getBoolean(this, false)) {
- query.markUsed();
- }
return EVAL_BODY;
}
Index: ListNodesContainerTag.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/containers/ListNodesContainerTag.java,v
retrieving revision 1.21.2.1
retrieving revision 1.21.2.2
diff -u -b -r1.21.2.1 -r1.21.2.2
--- ListNodesContainerTag.java 26 Feb 2008 16:57:06 -0000 1.21.2.1
+++ ListNodesContainerTag.java 26 Feb 2008 17:05:15 -0000 1.21.2.2
@@ -23,7 +23,7 @@
*
* @author Michiel Meeuwissen
* @since MMBase-1.7
- * @version $Id: ListNodesContainerTag.java,v 1.21.2.1 2008/02/26 16:57:06
michiel Exp $
+ * @version $Id: ListNodesContainerTag.java,v 1.21.2.2 2008/02/26 17:05:15
michiel Exp $
*/
public class ListNodesContainerTag extends NodeReferrerTag implements
NodeQueryContainer {
// nodereferrer because RelatedNodesContainer extension
@@ -153,9 +153,6 @@
if (jspVar != null) {
pageContext.setAttribute(jspVar, query);
}
- if (markused.getBoolean(this, false)) {
- query.markUsed();
- }
return EVAL_BODY;
}
@@ -173,6 +170,9 @@
return SKIP_BODY;
}
public int doEndTag() throws JspTagException {
+ if (markused.getBoolean(this, false)) {
+ query.markUsed();
+ }
query = null;
return super.doEndTag();
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs