File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Link menubar with a page
Run time error...tricky one..
how to make a .html document....
How to use menu items
How to get dynamic content in index.jsp page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014