I have posted this a while ago but I can seem to find my post.
I am trying to add a GWT SuggestBox in a div tag in an HTML. The
following shows the code on how I added it. I got his from an example
in http://examples.roughian.com/index.htm#Widgets~SuggestBox. In the
entry point class's onModuleLoad, I wrote the following...
VerticalPanel panel = new VerticalPanel();
MultiWordSuggestOracle tagsOracle = createTagsOracle();
SuggestBox firstTag = new SuggestBox(tagsOracle);
panel.add(firstTag);
RootPanel.get("firstTag_div").add(panel);
My div element looks as simple as this...
<div id="firstTag_div"></div>
However, when I try to run/access the page, I get an exception shown
below...
"Uncaught com.google.gwt.user.client.ui.AttachDetachException: One
or more exceptions caught, see full set in
UmbrellaException#getCauses"
Has anyone encountered this problem already? Is there a attach method
somewhere that I should be calling?
Thanks and regards,
Gino
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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