How do you go about creating KeyPress filter that would enforce only digits as input in text field. Something like this here:
http://www.smartclient.com/smartgwt/showcase/#form_keypress_filter
As added anoyence is there a way of doing this in uiBinder xml file?
The code to do that is described here.
In your uiBinder file, define your TextBox item.
In your class, you can either add the KeyPressHandler directly, like :
Or you can use the @UiHandler annotation like so: