Re: Defining ChangeHandler in a Hidden Widget

2011-01-11 Thread Kevin
Thak you very much Thomas for your help. I didn´t really know that hidden part of the input elements. :-) Thank you, 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

Re: Defining ChangeHandler in a Hidden Widget

2011-01-05 Thread Thomas Broyer
1) use addDomHandler instead of addHandler 2) use ChangeEvent.getType() instead of a new GwtEvent.Type() That being said, input type=hidden won't ever dispatch a change event (setting the value programmatically never dispatches an event on any of the input type=XXX types) See, for example,

Defining ChangeHandler in a Hidden Widget

2011-01-04 Thread Kevin
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