Thanks Thomas. On Wed, Dec 9, 2009 at 9:05 PM, Thomas Broyer <[email protected]> wrote:
> > On Dec 9, 5:56 am, Karan Sardana <[email protected]> wrote: > > I'd like to manually fire a change event on a text box, and let the > > change handlers tap that event to do the needful. > > > > I tried using fireEvent(GwtEvent <?> event) with no luck. We can't > > instantiate changeEvent, so how could I fire a change event ??? > > DomEvent.fireNativeEvent(Document.get().createChangeEvent(), > myTextBox); > > or you could use the ValueChange event instead, which you can fire > programmatically using ValueChangeEvent.fire(...) > > -- > > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- 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.
