19 package org.turro.financials.product;
21 import java.util.HashMap;
22 import org.turro.menu.ElephantMenu;
23 import org.zkoss.zk.ui.event.Event;
24 import org.zkoss.zk.ui.event.EventListener;
25 import org.zkoss.zk.ui.event.Events;
26 import org.zkoss.zk.ui.ext.AfterCompose;
27 import org.zkoss.zul.Toolbarbutton;
42 this.product = product;
43 setImage(
"/_zul/images/store.png");
44 setDisabled(product ==
null);
49 addEventListener(Events.ON_CLICK,
new EventListener() {
51 public void onEvent(Event event)
throws Exception {
53 HashMap<String, Object> map =
new HashMap<String, Object>();
54 map.put(
"product", product);
String getProductString()