2003/11/03 00:08:26
[org.ibex.core.git] / src / org / xwt / Template.java
index 1b2d9b6..d91c828 100644 (file)
@@ -121,7 +121,9 @@ public class Template {
         for (int i=0; children != null && i<children.size(); i++) {
             Box kid = new Box();
             ((Template)children.elementAt(i)).apply(kid, callback, xwt, pis);
-            b.put(b.numChildren(), kid);
+
+            // FIXME: can't actually pass a null tailcall here
+            b.put(b.numChildren(), kid, null);
         }
 
         if (script != null) new JS.Thread(script, pis).resume();