public void ready(YuiContext Y_) {
//cast to YuiGalleryContext for using the yui gallery java api.
final YuiGalleryContext Y = Y_.cast();
TreeView treeView1 = Y.newTreeView(TreeLeafConfig.create().label("haha").children(
TreeLeafConfig.create().label("haha1").id("child1"),
TreeLeafConfig.create().label("haha2").id("child2")
).id("tree1"));
//we need to "re-node" the parent to the new sandbox - this is not a bug