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

Understood.

However, in this scenario, when the user clicks on "home" they get
taken to http://localhost:8080/index, I think it would be even better
if they could be taken to http://localhost:8080/.  Its mostly
aesthetic, but its cleaner/shorter, and it saves having two URLs for
the same thing (e.g. http://localhost:8080/ and http://localhost:8080/index).

Is there any way to do that while maintaining the nice Sitemap feature
that makes Home non clickable?

- Alex

>
>
>
>
>
> > > 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]>
> > <liftweb%[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]<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.


Reply via email to