Hi all,
I am very new to GWT and I have a question that I cannot seem to
wrap my head around. I have a custom widget called MenuBarPanel.
This will contain all of the menu actions that I need. When a user
selects the menubar I need it to call an action and reload only one
panel (Custom panel called Content Panel) from my page. Is there a
way to make my menubar action (Command) reload only one panel from my
entry page? I hope I explained my issue clearly enough, like I said I
am new to GWT. Below is my current code for building my menubar.
Thanks, Craig
public MenuBarPanel() {
Command command = new Command() {
public void execute() {
fileCommand();
}
};
MenuBar widget = new MenuBar();
widget.addStyleName("MenuBar");
widget.addItem("Home",command);
widget.addItem("Site Index",command);
widget.addItem("Search",command);
widget.addItem("Contacts",command);
widget.addItem("FAQ",command);
widget.addItem("Help",command);
initWidget(widget);
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---