Sorry for yet another menu question. I have scoured this list first, I
promise!

I'm trying to do something I think is quite simple:

Two [or any nuumber of] menus (with children). Two different
templates. One menu and children shows up on one template, one shows
up on another. They are each nested menus (i.e. I have two Menus, each
with child menu items). You can directly go to any page you want, but
only certain Menu items show up on certain templates.

I had thought I could put a guard (the last argument of the Loc) to
only show a menu when the request string contains part of the path,
but of course, that prevents you from navigating there in the first
place so that's out.

I've seen this post :
http://groups.google.com/group/liftweb/browse_thread/thread/dbdf6a17b9704c99/30f5168e87161f74?hl=en&lnk=gst&q=new+sitemap%2Fmenu+features

but it doesn't quite do what I want: I want to be able to show a whole
Menu at a time, not have to list each individual item in the template.
I'd like to do something like this:

<lift:Menu.builder menuName="menu_name"/>

Any ideas? I'll accept a hack, I'm short on time!

Bonus marks: how do you set a menu to be expanded by default (without
having to be on the root node's page)? I saw `expandAll="true"`
somewhere, but that doesn't do anything...

Thanks!

Joe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to