super.onRender(target, index);
triggerListener = new EventListener() {
public void onBrowserEvent(Event event) {
FieldEvent ce = new FieldEvent(TwinTriggerField.this);
ce.event = event;
ce.type = DOM.eventGetType(event);
ce.stopEvent();
onTriggerEvent(ce);
}
};
DOM.sinkEvents(wrap.dom, Event.FOCUSEVENTS);
DOM.sinkEvents(trigger.dom, Event.ONCLICK | Event.MOUSEEVENTS);