Instead of creating my own oracle I just use the one created in the suggest box itself.
In the constructor:
suggestBox = new SuggestBox();
When I want to update the values in the suggestbox:
MultiWordSuggestOracle oracle = (MultiWordSuggestOracle) suggestBox.getSuggestOracle();
oracle.clear();
oracle.addAll(values);
On Tuesday, April 23, 2013 2:04:22 PM UTC+3, Mohammad Al-Quraian wrote:
After I posted that, I went to my GIN module and made these views as singletons (I didn't make before because they are rarely used) now the ListBox shows the values but not the SuggestBox! Both widgets are UiBinder widgets by the way.
On Tuesday, April 23, 2013 1:56:03 PM UTC+3, Mohammad Al-Quraian wrote:I have this strange issue, everything was fine for a while then I noticed that the SuggetBox doesn't show any values, later I find the same issue for ListBox. Now, when I debug my code I see that the widgets are being updated with the correct values, these widgets also appear on the page but with now options to select from.The only thing I can think of that may cause this issue is GIIN, but I have no idea what it could be.I know that is not enough information but I was hoping that someone may have an idea what could the cause of this issue be.Thanks
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment