There's nothing magic about lift's snippets.  You can write your own
snippets that do whatever you want.

On Mar 24, 2009 4:58 PM, "bradford" <fingerm...@gmail.com> wrote:


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 Poll...

> 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 subs...

--~--~---------~--~----~------------~-------~--~----~
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