On Mar 9, 11:27 am, Thomas Broyer <[email protected]> wrote:
> ValueListBox automatically adds any value passed to setValue() to the list
> of "acceptable values", so you probably have some setValue(null) somewhere,
> or it might rather be that you don't have a setValue() anywhere, so the
> ValueListBox tries to select the default value (null) in the list, and adds
> it to the list of "acceptable values" as a consequence.

Thanks, that was it!

For anyone who gets to this post by a search, Thomas was correct --
the problem was that I had not set a value, but added acceptible
values.  So since it had no value, it added "null" to the list.  I
resolved it by setting the value PRIOR to setting the acceptible
values, like this --

        storeListBox.setValue(currentStore);
        storeListBox.setAcceptableValues(app.getStoresList());

And that resolved the issue.

-- 
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.

Reply via email to