combo1.addValueChangeHandler( new ValueChangeHandler<String>() { @Override public void onValueChange( ValueChangeEvent<String> event ) { ... } });
Is there a way to get the combo box (here, "combo1") that the handler is responding to from within onValueChange() ? Basically, I'm going to be adding the same handler to many combo boxes, and I want to be able to figure out which one I have and do stuff to them after the user makes a selection.
Thanks for any suggestions.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vu12MjvH4LAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment