Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib
In directory james.mmbase.org:/tmp/cvs-serv4657
Modified Files:
NodeTag.java
Log Message:
Since <mm:node number=''> only throws an exception now, we can just as wel let
it mean <mm:node> so that you can now very simply override the current node
only if a certain EL values is not empty
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib
Index: NodeTag.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/NodeTag.java,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- NodeTag.java 30 Jul 2008 12:16:14 -0000 1.75
+++ NodeTag.java 8 Aug 2008 12:58:10 -0000 1.76
@@ -27,7 +27,7 @@
*
* @author Rob Vermeulen
* @author Michiel Meeuwissen
- * @version $Id: NodeTag.java,v 1.75 2008/07/30 12:16:14 michiel Exp $
+ * @version $Id: NodeTag.java,v 1.76 2008/08/08 12:58:10 michiel Exp $
*/
public class NodeTag extends AbstractNodeProviderTag implements BodyTag {
@@ -54,7 +54,7 @@
if (log.isDebugEnabled()) {
log.debug("setting number to " + number);
}
- this.number = getAttribute(number);
+ this.number = getAttribute(number, true);
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs