18 package org.turro.dossier.dossier;
20 import org.turro.dossier.entity.Category;
21 import org.zkoss.zk.ui.ext.AfterCompose;
22 import org.zkoss.zul.Tree;
23 import org.zkoss.zul.Treechildren;
31 private Treechildren children;
32 private boolean loadOnDemand =
true;
40 this.loadOnDemand = loadOnDemand;
45 children.appendChild(cat);
57 private void addChildrenSpace() {
58 children =
new Treechildren();
59 appendChild(children);
63 for(Object o : children.getChildren()) {
CategoryItem addCategory(Category category, boolean loadOnDemand)
void setLoadOnDemand(boolean loadOnDemand)
Category getSelectedCategory()