Would somebody please confirm if menuBar.getElement().setId() works?

MenuBar menuBar;
//add items, I'm doing it from UiBinder...
menuBar.getElement().setId("id"); // inspect the dom - doesn't seem to
have any effect when you

setClass() also doesn't work. getHTML() works.

If the widget which contains this menu (in an HTMLPanel) will do
this.getElement().setId("id"), then id will be set on the outer div
(works as expected).

Thanks

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