On Tue, Dec 29, 2009 at 9:19 PM, Alex Black <a...@alexblack.ca> wrote:

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

In a 1.1-M8 based project, http://localhost:8080/ and
http://localhost:8080/index both cause the "Home" menu item to be
non-clickable.  The definition of the Home menu item is Menu(Loc("Home",
List("index"), "Home"))


>
> > 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 lift...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> <liftweb%2bunsubscr...@googlegroups.com<liftweb%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > 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 lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://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 lift...@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