Re: [Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-31 Thread David Pollak
I was in SiteMap for another project today. I'll add a flag on the SiteMap object that facilitates / rather than /index. On Wed, Dec 30, 2009 at 7:47 PM, Alex Black a...@alexblack.ca wrote: Would it be reasonable for me to open a ticket to allow people to change this default behaviour? Its

[Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-31 Thread Alex Black
That sounds great, much appreciated. On Dec 31, 2:52 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I was in SiteMap for another project today.  I'll add a flag on the SiteMap object that facilitates / rather than /index. On Wed, Dec 30, 2009 at 7:47 PM, Alex Black a...@alexblack.ca

Re: [Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-30 Thread David Pollak
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.

[Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-30 Thread Alex Black
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

Re: [Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-30 Thread David Pollak
On Wed, Dec 30, 2009 at 9:43 AM, Alex Black a...@alexblack.ca wrote: 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.

[Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-30 Thread Alex Black
David, I'm not trying to anger you, and although you do constantly reply with helpful information (which I appreciate) the tone of your messages makes me think you think I am an idiot. I'd appreciate it if you'd bear with me, I'm only human. Thanks for explaining. I don't yet fully understand,

[Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-30 Thread Alex Black
Would it be reasonable for me to open a ticket to allow people to change this default behaviour? Its important to me that when people are at our site's home page, its just http://oursite.com;, not http://oursite.com/index;. Then for people who are using a container where this is a problem, it

[Lift] Re: Sitemap: Using instead of index and still having the current menu selected?

2009-12-29 Thread Alex Black
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