Re: Issue with ValueListBox
I just ran into the exact same thing, where I was setting the acceptable values without explicitly setting a value first - null is added to the list. I understand the fix, but this seems to be an issue - if no value is set, then it would make sense to have a way to skip the adding of the null - just select the first element. If not, at least document the behavior of setAcceptableValues in it's javadoc, because the behavior is unexpected and needs to be documented.
Any thoughts on this?
Eugen.
--
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/-/My7UWw-z6woJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home