Ah, I only looked under SM on JIRA, not all (too many items had CSS and
Velocity in them).
The patch doesn’t seem to be a valid patch, so I ripped open the sample project
attached. The Velocity macro for the horizontal menu doesn’t seem to be
changed, but it was for the vertical. Aaaaand... It pretty much only renders
menus as <h2> elements with nothing folding out. So, today’s job will be
learning Velocity, and fixing it.
Mike
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible
Sent: March-05-07 7:38 AM
To: General mailing list for Struts Menu
Subject: Re: [struts-menu] Velocity-based CSS Drop-down (Vertical) + DB-driven
I believe this is a known issue - please see the following:
http://issues.appfuse.org/browse/APF-599
If the patch attached to this bug works, let me know and I'll try to get a
release out.
Matt
On 3/4/07, Michael Laccetti <[EMAIL PROTECTED]> wrote:
In my never-ending quest to make more life for myself, I decided to use
Struts Menu in (another) project. I've used it before in other projects,
generally using Velocity + XTree (and sometimes adding permissions into the
mix). For this project, I went with Velocity and the CSS-based drop-down
menu, all driven dynamically from a database. Getting it to work wasn't too
horrible, but I seem to have come up with a case where things fall apart.
I have the current menu layout (I hope that the tabs make it through
properly, if not I've put a level number beside them):
1 Home /index
2 View Reports /browse
2 About /about
1 Login /login
1 Admin /admin/index
2 Manage Reports /admin/reports/browse
3 Create Report /admin/reports/create
2 Manage Schedule /admin/schedule/browse
3 Schedule Report /admin/schedule/create
2 Manage Users /admin/users/browse
3 Create User /admin/users/create
1 Logout /logout
With the 'Create User' item left in, the template seems to leave out a final
</ul> that would close off the Create User menu item. Unfortunately I'm a
bit of a newb when it comes to Velocity, so I can't say specifically what is
wrong, just that it is. It seems to have something to do with going from a
third level item to the top level, if that is any help.
If anybody can help me out with this, it'd be greatly appreciated.
Mike
------------------------------
Michael Laccetti
S2G Limited
(416)558-9718
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
--
http://raibledesigns.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
struts-menu-user mailing list
struts-menu-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/struts-menu-user