If you are using smartGWT and you are attempting to use the smartGWT MenuBar class, but keep getting "setMenu undefined" or "addMenu undefined" errors, then check your imports.
Google have a MenuBar in GWT as well. The package is com.google.gwt.user.client.ui.MenuBar.
The correct package to be using is com.smartgwt.client.widgets.menu.MenuBar.
Saturday 30 January 2010
Subscribe to:
Post Comments (Atom)
lool
ReplyDelete