That's actually the correct behavior as it's currently written for the
Menu.item. For the Menu.group, you can provide your own template for each
menu item that's rendered:
<ul class="menu">
<lift:Menu.group group="foo">
<li><menu:bind /></li>
</lift:Menu.group>
</ul>
I could see adding an "always" attribute to the Menu.item snippet such that
when it's defined the Menu item is always rendered.
Derek
On Mon, Mar 23, 2009 at 6:48 PM, bradford <[email protected]> wrote:
>
> Also, I'm using 1.1-snapshot and <lift:Menu.item name="foo1" /> will
> always show except when i am on /foo1. For this case it doesn't even
> render.
>
> On Mar 23, 8:41 pm, bradford <[email protected]> wrote:
> > The idea of LocGroup is great. I have a few Menu's with LocGroup
> > ("group1"). I want to generate:
> >
> > <ul class="menu">
> > <li><a href="/foo1"><span>Foo1</span></foo>
> > <li><a href="/foo1"><span>Foo1</span></foo>
> > <li><a href="/foo1"><span>Foo1</span></foo>
> > </ul>
> >
> > for just group1.
> >
> > It appears that <lift:Menu.group /> does not print ul and li, and
> > lift:Menu.builder won't recognize group. What are my alternatives?
> > Also, I need to surround the item text with <span />.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---