View Full Version : Custom event

2 Jan 2011, 10:18 PM
I made custom component by extending TextField and and on clilk of the component a dialog box will open and select value from the dialouge box and i after i set the value on the compont using setvalue() method.Now i want a custom event like datepicker event or a value change event.I set setFireChangeEventOnSetValue(true) for the custom componet and i add a listner, but it is not firing .

udUserName().addListener(Events.Change, new Listener<FieldEvent>() {


public void handleEvent(FieldEvent be) {
// TODO Auto-generated method stub


3 Jan 2011, 1:11 PM
You should start with posting your code in a small, standalone testcase implementing EntryPoint. Nobody can answer this.