Suggestionbox clickhandler

22 views
Skip to first unread message

Quynh

unread,
Jun 28, 2011, 10:07:51 AM6/28/11
to Google Web Toolkit
Since clicklistener and onFocus are deprecated, is there any other way
to handle on click event? Currently I have
suggestbox.setText("search"). So onClick event, I want to set the text
to empty. Example would greatly be appreciated!

Thanks :)

Kevin Anderson

unread,
Jun 28, 2011, 10:53:19 AM6/28/11
to google-we...@googlegroups.com
The javadocs have the methods you should use instead.  In this case you would use "suggestBox.getTextBox().addFocusHandler/addBlurHandler".

Quynh

unread,
Jun 29, 2011, 8:07:56 AM6/29/11
to Google Web Toolkit

Thanks
Reply all
Reply to author
Forward
0 new messages