[Lift] Re: What's LocParam for?

2009-01-29 Thread David Pollak
On Thu, Jan 29, 2009 at 4:24 PM, Kris Nuttycombe wrote: > > > On Thu, Jan 29, 2009 at 5:13 PM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> >> >> On Thu, Jan 29, 2009 at 4:04 PM, Kris Nuttycombe < >> kris.nuttyco...@gmail.com> wrote: >> >>> >>> >>> On Thu, Jan 29, 2009 at 4:47 PM, D

[Lift] Re: What's LocParam for?

2009-01-29 Thread Kris Nuttycombe
On Thu, Jan 29, 2009 at 5:13 PM, David Pollak wrote: > > > On Thu, Jan 29, 2009 at 4:04 PM, Kris Nuttycombe < > kris.nuttyco...@gmail.com> wrote: > >> >> >> On Thu, Jan 29, 2009 at 4:47 PM, David Pollak < >> feeder.of.the.be...@gmail.com> wrote: >> >>> >>> >>> On Thu, Jan 29, 2009 at 3:37 PM, Kri

[Lift] Re: What's LocParam for?

2009-01-29 Thread David Pollak
On Thu, Jan 29, 2009 at 4:04 PM, Kris Nuttycombe wrote: > > > On Thu, Jan 29, 2009 at 4:47 PM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> >> >> On Thu, Jan 29, 2009 at 3:37 PM, Kris Nuttycombe < >> kris.nuttyco...@gmail.com> wrote: >> >>> Hm. Forgive me if I'm a little dense today

[Lift] Re: What's LocParam for?

2009-01-29 Thread Kris Nuttycombe
On Thu, Jan 29, 2009 at 4:47 PM, David Pollak wrote: > > > On Thu, Jan 29, 2009 at 3:37 PM, Kris Nuttycombe < > kris.nuttyco...@gmail.com> wrote: > >> Hm. Forgive me if I'm a little dense today, but since it doesn't declare >> any contract, what is the benefit of knowing that something in the par

[Lift] Re: What's LocParam for?

2009-01-29 Thread David Pollak
On Thu, Jan 29, 2009 at 3:37 PM, Kris Nuttycombe wrote: > Hm. Forgive me if I'm a little dense today, but since it doesn't declare > any contract, what is the benefit of knowing that something in the params > list implements LocParam? Is it just there to prevent you from putting > something that's

[Lift] Re: What's LocParam for?

2009-01-29 Thread Kris Nuttycombe
Hm. Forgive me if I'm a little dense today, but since it doesn't declare any contract, what is the benefit of knowing that something in the params list implements LocParam? Is it just there to prevent you from putting something that's not a LocParam into the list, i.e. it's a marker interface? If y

[Lift] Re: What's LocParam for?

2009-01-29 Thread David Pollak
You can subclass it and include application-specific data in the given Loc. For example, you might want to include information that the template evaluates such that certain pages use one style sheet and other pages use a different style sheet. On Thu, Jan 29, 2009 at 3:23 PM, Kris Nuttycombe wrot