> > I've changed my sitemap from:
>
> > Menu(Loc("index", Pair("index" :: Nil, false), "Home")) ::
>
> Yes, the / directory will be rendered by Lift as /index There's no way
> around that one.
Can you explain? I don't understand. I'm not sure what "rendered"
means in this context, and I'm not as far as I know seeing anything
rendered as "/index". What I am seeing is when I click on the "home"
link, I correctly arrive at "mysite.com/" but the home link is not
visually selected. Whereas, when I click on other links, like "about"
they then appear selected.
> Also, why do you using "Pair(List(...), false)"?
>
> Pair is deprecated/frowned on... it's much more idomatic to use (List(...),
> false), but that's not needed as there's an implicit conversion you can
> simply declare the List().
Thanks for the tip.
>
>
>
>
>
> > to
>
> > Menu(Loc("index", Pair("" :: Nil, false), "Home")) ::
>
> > So that my "Home" link goes to mysite.com/ instead of mysite.com/
> > index. But, I notice, when you're at mysite.com/ the sitemap doesn't
> > show "Home" as selected, is there a way to fix that? Perhaps I've got
> > something wrong here.
>
> > Thanks,
>
> > - Alex
>
> > --
>
> > 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]<liftweb%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Surf the harmonics
--
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.