Can you put together a super-simple project that demonstrates what you want
to do and I'll work it up so the menus highlight the right way.

On Fri, May 15, 2009 at 1:49 PM, denew <[email protected]> wrote:

>
> No - the menus should always show, but be inactive when you are on
> that page. For example, 'Home' is not selectable when you are on the
> Home page. This seems to be the default behaviour and is exactly
> right. Other 'simple' pages (i.e. just accessing a template, no
> redirects in Boot) work the same way. It seems however, that in the
> presence of a redirect, the original menu stays selectable after
> landing. To be consistent it should still appear, but be inactive. I
> didn't include this line in my original post...
>
> Menu(Loc("product_redirect_target", ("content" :: "product" :: Nil) ->
> true, "Product Redirect", Hidden)) ::
>
> ... but it was there. As I say everything 'works' ok and I can live
> with it - it just looks a bit inconsistent
>
> On May 16, 6:01 am, David Pollak <[email protected]>
> wrote:
> > You might try putting a "Hidden" object on the "specials" menu... that
> way
> > it won't show up... is this what you mean?
> >
> >
> >
> >
> >
> > On Thu, May 14, 2009 at 10:35 PM, denew <[email protected]> wrote:
> >
> > > A few days new to Lift, but stumbling along ok. A small issue (I hope
> > > this abbrv. code is sufficient):
> >
> > > ...
> > > Menu(Loc("specials", ("content" :: "specials" :: Nil) -> true,
> > > "Specials")) ::
> >
> > > ...
> >
> > > case RewriteRequest(ParsePath("content" :: "specials" :: page :: Nil,
> > > _, _,_), _, _) =>
> > >               RewriteResponse(List("content", "product", "index"), Map
> > > ("page" -> page, "category" -> "specials"))
> >
> > > I have a number of categories that redirect to the same page. On this
> > > page there is then the usual paging (next, last, numbers, etc.). All
> > > other menu items that are not redirected (i.e. just 'normal' ones)
> > > 'grey out' (as they should--nice) when accessed, but this doesn't. Its
> > > a minor, because paging and categories work happily as expected, but
> > > it looks wrong to see that menu still active when other page's aren't
> > > after landing
> >
> > > Clear as mud I suppose...
> >
> > --
> > 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- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>


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