19 package org.turro.participation;
21 import org.turro.string.Strings;
22 import org.turro.action.IEntityHolder;
23 import org.turro.entities.Entities;
24 import org.turro.entities.IElephantEntity;
25 import org.zkoss.zk.ui.Executions;
26 import org.zkoss.zk.ui.IdSpace;
27 import org.zkoss.zk.ui.ext.AfterCompose;
28 import org.zkoss.zk.ui.select.Selectors;
29 import org.zkoss.zk.ui.select.annotation.Wire;
30 import org.zkoss.zul.Panel;
38 private String label, entityPath;
40 @Wire(
"#participationGrid")
44 Executions.createComponents(
"/WEB-INF/_zul/bs/comps/participation/participationControl.zul",
this,
null);
45 Selectors.wireComponents(
this,
this,
false);
46 Selectors.wireEventListeners(
this,
this);
62 this.entityPath = entityPath;
69 if(!Strings.isBlank(entityPath)) {
82 participationGrid.
reload();
static IElephantEntity getController(String path)
void setEntity(Object entity)
void setEntityPath(String entityPath)
void setLabel(String label)
void setEntityPath(String entityPath)