but how i do this ? 2010/10/17, A. Stevko <[email protected]>: > Which UI control and API are you referring to? > I cannot seem to find a setValidator() method in the > *com.google.gwt.user.client.ui.TextBox > *class heirarchy. > > You might want to use the > Interface HasValueChangeHandlers<I> > to add a handler that will be able to parse it via Integer.getInteger( > myControl.getValue() ) > > > On Sat, Oct 16, 2010 at 4:45 AM, Diego Venuzka <[email protected]> wrote: > >> Anyone? >> >> 2010/10/14, Diego Venuzka <[email protected]>: >> > Hello! >> > Somebody know how i can make a test in field, to know if the data is >> string >> > or integer? i'm tryng to use the setValidator(), but i don't know how i >> set >> > the parameters.... someone can help this rookie? =P >> > >> > Thanks!! >> > >> > -- >> > Diego Venuzka >> > >> >> >> -- >> Diego Venuzka >> >> -- >> 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. > >
-- Diego Venuzka -- 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.
