From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Mon, 1 Aug 2011 09:41:14 +0200
Local: Mon, Aug 1 2011 3:41 am
Subject: Re: [Lift] Re: paramitized menus
On Sun, Jul 31, 2011 at 11:51 PM, bishop155 <chrisjbishop...@gmail.com>wrote: > They is one entry per url I'm trying to achieve (/category/1, / Loc and Menu are in fact and intentionally intertwined. I do not see why > category/2), seams abit strange (to me) that the Loc isnt decoupled > from the menu, so the the loc should match /category/*, but the menus > be able to point to that Loc with a paramaters, IE /category/1 & / > category/2. this is a problem. If you want to generate a URL from a Loc, use the createLink method which is > I am a novice with lift, I come from a zend framework background which > The Loc.Link class seams abit overloaded to me, it used for a) http://simply.liftweb.net/index-Chapter-3.html#toc-Chapter-3 and http://simply.liftweb.net/index-3.2.html#toc-Section-3.2 If you can describe your use case, it would have getting you to the answer > I greatly appreciate your help. > On Jul 26, 5:32 am, David Pollak <feeder.of.the.be...@gmail.com> > > > Maybe one day, the menu hierarchy as rendered by the menu snippet > > That'd be great. > > Given that the Menu snippets could be user-written code, there's nothing > > > On Mon, Jul 25, 2011 at 5:13 AM, David Pollak < > > >> You can only have 1 menu entry per URL. You cannot do what you're > > >> On Fri, Jul 22, 2011 at 1:15 AM, bishop155 <chrisjbishop...@gmail.com > > >>> I want to create a Menu which has multiple items which differ in only > > >>> case class Test(id: String); > > >>> var test = Menu.param[Test]("Test-1", "Test-1", > > >>> var test2 = Menu.param[Test]("Test-2", "Test-2", > > >>> val entities = test :: test2 :: Nil; > > >>> SiteMap.enforceUniqueLinks = false; > > >>> But it always matches the first menu item, and never the second. is > > >>> -- > > >> -- > > >> -- > > > -- > > -- > -- Lift, the simply functional web framework http://liftweb.net Simply Lift http://simply.liftweb.net Follow me: http://twitter.com/dpp Blog: http://goodstuff.im You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||