Hello Vilpesh,
Even I am a new member of this group. I have just started
working with struts menu. I'll tell u as much as I know.
Well it's correctly said about struts Menu that "This project is a set
of JSP tags that allows creation of many different menu systems from an
XML file."
The menu & the menu items are taken from the menu-config.xml file where
they are pre defined. That is we are sure of what will our menu contain.
What you are talking about is dynamic menu, where in you can add menu &
menu item on a fly or rather take it from the action class as you have
said.
For this you can refer to the following
http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp
This explains to you how u can configure your menus dynamically.
Now since you have configured your menu, it's the time you'll use it in
your page. To do this you have follow the step 4.
Hope you find this useful.
HMB
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Vilpesh Mistry
Sent: Friday, January 28, 2005 8:17 PM
To: [email protected]
Subject: [struts-menu] newbie + error in integrating struts menu in my
application at step 4
hi
i have to make dynamic menus where Menu-name will be
built in Struts action also the child under the parent
will be built in the same struts action.
There can be any number of menus and any number of
childs under parent.
i have decided to use struts-menu.
Is Struts-Menu the correct component for my
requirement, as the home page says
"
This project is a set of JSP tags that allows creation
of many different menu systems from an XML file.
"????????????????????????
But after looking at a Specific Demo at the url
(http://demo.raibledesigns.com/struts-menu/)
Dynamic, Databased-driven Menu [New!] -
i thought my requirement can be fulfilled,so i started
to install it.
But after following instructions at url
http://struts-menu.sourceforge.net/userguide.html
under section
Integrating Struts Menu into your application
i failed at step 4 ie here
Add a taglib declaration to the top of your JSP:
<%@ taglib uri="http://struts-menu.sf.net/tag"
prefix="menu" %>
And didnot understand step 3 ie here
????????????????????
You will need to declare your menu's attributes in a
yourApp/WEB-INF/menu-config.xml file. Here's a short
snippet of what this might look like:
<Menu name="contactMenu" title="Contact"
location="?Contact">
<Item name="email" title="E-Mail"
location="?EMail"/>
<Item name="phone" title="Phone" location="?Phone"/>
</Menu>
please help for my questions marked ?????
thanks
__________________________________
Do you Yahoo!?
All your favorites on one personal page - Try My Yahoo!
http://my.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user