19 package org.turro.dossier.dossier;
21 import org.turro.dossier.entity.Category;
22 import org.zkoss.zk.ui.ext.AfterCompose;
23 import org.zkoss.zul.Tree;
24 import org.zkoss.zul.Treechildren;
32 private Treechildren children;
33 private boolean loadOnDemand =
true, knowledgeBase =
false;
41 this.loadOnDemand = loadOnDemand;
45 this.knowledgeBase = knowledgeBase;
50 children.appendChild(cat);
62 private void addChildrenSpace() {
63 children =
new Treechildren();
64 appendChild(children);
68 for(Object o : children.getChildren()) {
void setLoadOnDemand(boolean loadOnDemand)
void setKnowledgeBase(boolean knowledgeBase)
Object getSelectedEntity()
CategoryDossierItem addEntity(Category category, boolean loadOnDemand, boolean knowledgeBase)