I am doing a context menu for a site. I extends MenuBar class as my
context menu class. When i close the context menu while one menuItem
is selected, and close and reopen it, i want to see no menuItem is
selected. My implementation is to remove "gwt-MenuItem-selected" css
style from the selected item when i reopen it. But actually when mouse
over the previously selected menuItem in the reopen menu, the ui
doesn't change. The reason is that GWT will verify if a private
variable called "selectedItem" is null. If selectedItem is not null,
GWT will consider that one item is selected so that won't call the
change-ui code.

What i want is whether GWT could expose a method named something like
"setNoItemSelected" to MenuBar class, to make the "selectedItem" to
null.

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