Map comps = new HashMap();
comps.put("form1", form);
Map tprops = new HashMap();
tprops.put("id", "form1");
BrowserEvent event = new BrowserEvent("onSelect", "form1", "form1", new EventTarget(tprops));
ComponentEventInvoker invoker = new ComponentEventInvoker();
invoker.setInvoker(listenerInvoker);
spec.addEventListener("form1", new String[] { "onSelect" }, "fooListener",