Update of /var/cvs/src/org/mmbase/framework
In directory james.mmbase.org:/tmp/cvs-serv31397

Modified Files:
        BasicComponent.java 
Log Message:
horrible bug


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/framework


Index: BasicComponent.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/framework/BasicComponent.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- BasicComponent.java 21 Jan 2008 17:29:10 -0000      1.40
+++ BasicComponent.java 25 Jan 2008 09:53:17 -0000      1.41
@@ -23,7 +23,7 @@
  * components, and may be requested several blocks.
  *
  * @author Michiel Meeuwissen
- * @version $Id: BasicComponent.java,v 1.40 2008/01/21 17:29:10 michiel Exp $
+ * @version $Id: BasicComponent.java,v 1.41 2008/01/25 09:53:17 michiel Exp $
  * @since MMBase-1.9
  */
 public class BasicComponent implements Component {
@@ -142,7 +142,7 @@
                 String blockName = element.getAttribute("name");
                 String mimetype = element.getAttribute("mimetype");
                 Block.Type[] classification = 
Block.Type.getClassification(element.getAttribute("classification"), true);
-                Block b = new Block(name, mimetype, this, classification);
+                Block b = new Block(blockName, mimetype, this, classification);
                 b.getDescription().fillFromXml("description", element);
                 log.trace("Found block: " + blockName);
                 b.getRenderers().put(Renderer.Type.HEAD, getRenderer("head", 
element, b));
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to