Sunday, February 10, 2013

Re: How to attach custom event handler to InputField of EditTextBox?

Could number format validate "any positive integer, without zero, and not empty"?

2013/2/10 Andrea Boscolo <andrew586@gmail.com>
Sorry, misread.
Then either use a column-based field updater that validates your input, or roll your own, say, EditNumberCell that accepts only number elements, just like NumberCell does (I guess it's easy by extending EditTextBox). In both cases you can use NumberFormat to validate http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/i18n/client/NumberFormat.html .

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment