Thanks for the clarification, David, and for your snippet, Derek. I think adding an "always" attribute to Menu.item would be very beneficial. I still don't understand why that's not its default behavior.
It looks like I will not be able to use any of lift's Menu tags at this time, because 1) I need to surround the item text with span and 2) I need a way to add class="active" to the li_item. Both are not possible with Menu.item, Menu.group, or Menu.builder. Let me know if I am mistaken. If I am not not, may I put in a feature request for these items. For the time being I will just hard code it as follows (which is not a big deal to me at this time): <ul class="menu"> <li><a href="/foo1" class="active"><span>Foo1</span></foo> <li><a href="/foo2"><span>Foo2</span></foo> <li><a href="/foo3"><span>Foo3</span></foo> </ul> Thanks again for the great support :) Bradford On Mar 24, 12:08 pm, David Pollak <feeder.of.the.be...@gmail.com> wrote: > On Tue, Mar 24, 2009 at 9:02 AM, Charles F. Munat <c...@munat.com> wrote: > > > > > > > David Pollak wrote: > > > What's the best practice: > > > > For more information about <lift:Menu.item name="foo1" />. For more > > > information about <lift:Menu.item name="foo2" />. > > > > Or > > > > For more information about <a href="/foo1">foo1</a>. For more > > > information about <a href="/foo2">foo2</a>. > > > > The latter. This allows you to move the pages around on the filesystem > > > without having to grep through all you source files looking for what > > > needs to be changed. > > > Am I missing something, or did you mean the former? > > D'oh! That brain-finger connection is always getting messed up. I meant > the former. Thanks for correcting me! > > > > > Chas. > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Git some:http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---