On Sat, Jan 10, 2009 at 10:47 AM, A Friend Of Yours
<[email protected]>wrote:

>
> getSelectedItem is protected method. You can't access it unless you
> are extending MenuBar. So, it might not go that way. I guess you need
> a separate Command for each of the MenuItem.
>

> i am trying to use separate commands for each menu item, but i have to
declare the simplePanel as final before using it inside the execute() of
command.
due to this, once a menu item set the simplePanel's contents, others are not
able to overwrite it.
An exception is also thrown in the GWT shell.

is there a workaround for this or any other much better way in which i can
create the functionality for the Navigation Menu?


-- 
Sahil

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