2003/12/28 07:02:59
[org.ibex.core.git] / src / org / xwt / Box.java
index b251d3b..9dbd0ab 100644 (file)
@@ -419,6 +419,7 @@ public final class Box extends JSScope implements Scheduler.Task {
             return redirect == null ? null : redirect == this ? getChild(toInt(name)) : redirect.get(name);
 
         //#switch(name)
+        case "surface": return parent == null ? null : parent.get("surface");
         case "indexof": return METHOD;
         case "text": return text;
         case "path": throw new JSExn("cannot read from the path property");