A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Link menubar with a page
Jose Luis Urrea
Joined: Nov 04, 2011
Nov 04, 2011 08:31:04
I'm beginer in GWT ans I'm trying to develop a menu for my application with
masterMenu = new
masterMenu.addItem("Cost Center", cmd);
But I don't know how to implement the command or url to link with the other page?
Someone knows how to do this? In internet there are a lot of information how to make a menu, but they don't explain how to link with pages' urls
Joined: Jul 26, 2007
Nov 04, 2011 12:20:16
Welcome to the Ranch.
Are you trying to change the page contents via the menu? If yes, then you can use the history mechanism. More on it here
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
Joined: Sep 15, 2011
Dec 22, 2011 19:30:06
Give some thought to downloading and installing GWT Designer. When you add the menubar to the page in GWT Designer, it will give you a bunch of relevant choices. including events. The Designer tool helps us beginners and greenhorns.
subject: Link menubar with a page
Run time error...tricky one..
how to make a .html document....
How to get dynamic content in index.jsp page
How to use menu items
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014