Hi All,
I have created different menuItems in the menuBar,
MenuItem dashBoardItem = new MenuItem("DashBoard Summary", command);
MenuBar menuHome = new MenuBar();
MenuItem home = new MenuItem("Home", command);
MenuBar eventSource = new MenuBar(true);
MenuItem eventSummary = new MenuItem("Summary", command);
MenuItem eventmessage = new MenuItem("Message Format", command);
MenuItem ecentCommands = new MenuItem("Execution Commands", command);
MenuItem rules = new MenuItem("Rules", command);
MenuItem notification = new MenuItem("Notifications", command);
MenuItem users = new MenuItem("users", command);
MenuItem group = new MenuItem("Groups", command);
MenuItem reports = new MenuItem("Reports", command);
MenuItem systemSettings = new MenuItem("System Settings", command);
As my understandign goes. if the user clicks menu bar items a
command.execute is being called.
Command command = new Command() {
public void execute(){
Window.alert("Command Fired");
}
};
My requirement is, I need to add different Components based on the
menuItems clicked.
it is highly appreciated if any one can help me in resolving the same.
Regards,
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---