I indeed prefer to use open source components .
Unfortunately I can't download the last version of struts-menu
(the link
http://prdownloads.sourceforge.net/struts-menu/StrutsMenu-1.2.zip?download
doesn't work).
I have a version of struts-menu but which is very simple and which really
does not answer my probem
I thus do not know the version I do not know if evolutions were brought.
The example that I have present a vertical menu.
Does somebody have the last version?
Is it possible to combine Cool menus with the Tiles components?
Because until now I defined my menu in tiles-def.xml in the following way:
<definition name="site.mainLayout" path="/tiles/layouts/classicLayout.jsp">
<put name="title" value="Tiles Blank Site" />
<put name="header" value="/tiles/common/header.jsp" />
<put name="menu" value="site.menu.bar" />
<put name="body" value="/tiles/body.jsp" />
<put name="footer" value="/tiles/common/footer.jsp" />
</definition>
<definition name="site.menu.bar"
path="/tiles/layouts/webappMenubarLayout.jsp">
<putList name="list">
<add value="site.menu.home" />
<add value="site.menu.admin" />
<add value="site.menu.help" />
</putList>
</definition>
<definition name="site.menu.home"
path="/tiles/layouts/webappMenuLayout.jsp">
<putList name="items">
<item value="menu.label.home" link="welcome"
classtype="org.apache.struts.tiles.beans.SimpleMenuItem" />
</putList>
</definition>
etc...
I joined to this mesage the file webappMenubarLayout and webappMenuLayout,
that allow
to display main menu command and sub-menu.
But it is not me which wrote them and I do not have large experience of
Javascript this is why I seek another solution.
I really do not see how to include Cool menu with Tiles.
It is perhaps possible to not use Tiles for one part of the application only
?
Thank you in advance for your help.
SAndra
-----Original Message-----
From: V. Cekvenich [mailto:[EMAIL PROTECTED]]
Sent: 15 January 2003 17:04
To: [EMAIL PROTECTED]
Subject: Re: Struts horizontal menu
Cool menus is used in struts-menu, available for free on sf.net.
.V
Raible, Matt wrote:
> One problem with HeirMenus is they now charge for it - doh!
>
> http://www.webreference.com/cgi-bin/hier/index.cgi
>
> CoolMenus offers the same functionality, and it's free:
>
> http://www.dhtmlcentral.com/projects/coolmenus/?m=10
>
>
> -----Original Message-----
> From: Haseltine, Celeste [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 8:14 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Struts horizontal menu
>
>
> Sandra,
>
> Have you looked at using HierMenu's? It's a JS menu with a LOT of
> functionality in it. There is also an article on adapting it to work with
> Struts, but I had already adapted the Heir Menu's to dynamically create a
> menu based on the user's previous chosen preferences, which are stored in
> the database. When I first started using the JS files for HeirMenu, the
> code was free, but I believe the site now charges a nominal fee for the
> code. More info on HeirMenu's can be found at:
>
> http://www.webreference.com/dhtml/
>
> an the article on how to modify it to work with Struts can be found at:
>
> http://www.webreference.com/programming/java/jspmenus/
>
> Again, I didn't do exactly what the article presented, as I had already
> modified HierMenu's to work dynamically in JSP's 2 years ago.
>
> Hope this info helps.
>
> Celeste
>
>
> -----Original Message-----
> From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 5:16 AM
> To: '[EMAIL PROTECTED]'
> Subject: Struts horizontal menu
> Importance: High
>
>
>
> I have many difficulties of presenting the menu which I wish in my
> application. I already posted a message on this subject, a person
sent a
> example to me but unfortunately some imperfections remain and I am not
> able to solve them. This example uses the tags Tiles and Javascript
> functions but unfortunately I have very little knowledge of Javascript.
> This is why I launch a new call. The problem is as follows we wish
> to place a menu in the Web pages of our application. The menu
should
> not be posted in a band on the left of all pages but in the header
> (horizontal position).
> Example of JSP page:
>
> <<Logo>> Home Admin Titel1 Title2 Help
>
>
>
----------------------------------------------------------------------------
> ---
> |
> | Table
> |
>
>
----------------------------------------------------------------------------
> ---
>
> The main items can have sub-items
>
> - Home (no sub-item)
>
> - Admin
> - Change password
>
> - Tile1
> - sub-item1
> - sub-item2
>
> - Title2
>
> - Help
> - about
>
>
> The requirements are the following,
> - we want to present the menu in a horizontal bar.
> - spaces between each command (home, admin, etc...) must be regular.
>
> If somebody has an example who function I am really very interested.
>
> Thanks in advance
> Sandra
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>