Hello all,
I´m triying to define a ChangeHandler in a Hidden widget wrapped from
the html file. The code used to achieve this is the following:
input = Hidden.wrap( DOM.getElementById("input"));
ChangeHandler handler = new ChangeHandler() {
@Override
public void onChange(ChangeEvent event) {
// TODO Auto-generated method stub
//The logic
}
};
input.addHandler(handler, new GwtEvent.Type<ChangeHandler>());
Then clicking on a button, the Hidden widget value is changed, but it
seems that the change event is not being captured.
Is the event handler implementation wrong? Or I´m forgetting
something?
Thanks in advance for your help,
Kevin.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.