19 package org.turro.related;
21 import org.turro.command.CommandUtil;
22 import org.turro.elephant.entities.db.Related;
23 import org.zkoss.zk.ui.HtmlBasedComponent;
24 import org.zkoss.zk.ui.ext.AfterCompose;
25 import org.zkoss.zul.Hlayout;
26 import org.zkoss.zul.Image;
38 appendChild(
new Image(
"/_zul/images/forward.png"));
45 appendChild(
new Image(
"/_zul/images/back.png"));
50 if(newControl !=
null) {
51 appendChild(newControl);
52 if(newControl instanceof AfterCompose) {
53 ((AfterCompose) newControl).afterCompose();
static HtmlBasedComponent getLink(Object entity)