Hie
I am using following code:
final TextBox firstName = new TextBox();
firstName.setFocus(true);
firstName.addValueChangeHandler(new ValueChangeHandler<String>(){
@Override
public void onValueChange(ValueChangeEvent event) {
if (firstName.getText().length() == 0) {
Window.alert("First name must not be empty");
firstName.setFocus(true);
}
}});
this does not get fired if i simply tab out from the text box. It fires in
the case when i put some char and delete it and then tab out. is it a bug?
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
--
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.