Friday, September 24, 2010

possible bug? menuBar.getElement().setId() has no effect

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