Yeah, as this covers all cases (typing, pasting) quite simply.  I do
this with a textbox extension where I pass it the set of legal
characters, all others are just filtered out upon user actions that
change the text.

On Apr 30, 8:54 am, mariyan nenchev <[email protected]> wrote:
> Pasting non-digits is handled correctly. What do you mean by validate, i
> don't want to pass non-digit in the text box at all. To validate it means to
> validate(textBox.getText())?

-- 
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.

Reply via email to