[Lift] Re: How to share request scope data among snippets in Lift

2009-10-06 Thread Viktor Klang
On Tue, Oct 6, 2009 at 12:01 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: On Mon, Oct 5, 2009 at 10:54 PM, Jack Widman jack.wid...@gmail.com wrote: I'm not sure English is Turing Complete. Also not sure how prominent it will be in 50 years ... :) Nor I, but I'm certain that

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread David Pollak
On Sun, Oct 4, 2009 at 2:41 AM, ishiijp yoshinori.is...@gmail.com wrote: Thank you for your example, David. It will work in my purpose. Cool. It seems that my poor English and less information let some people confused. I appreciate that you have put in the work to translate your

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread marius d.
On Oct 5, 6:15 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Oct 4, 2009 at 2:41 AM, ishiijp yoshinori.is...@gmail.com wrote: Thank you for your example, David. It will work in my purpose. Cool. It seems that my poor English and less information let some people

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Jack Widman
Why don't we make Esperanto the official Lift language? On Mon, Oct 5, 2009 at 11:52 AM, marius d. marius.dan...@gmail.com wrote: On Oct 5, 6:15 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Oct 4, 2009 at 2:41 AM, ishiijp yoshinori.is...@gmail.com wrote: Thank you

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Viktor Klang
On Mon, Oct 5, 2009 at 6:02 PM, Jack Widman jack.wid...@gmail.com wrote: Why don't we make Esperanto the official Lift language? I'd say make Scala the official language ;) On Mon, Oct 5, 2009 at 11:52 AM, marius d. marius.dan...@gmail.comwrote: On Oct 5, 6:15 pm, David Pollak

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Jack Widman
Well it is high enough level! [?] On Mon, Oct 5, 2009 at 3:49 PM, Viktor Klang viktor.kl...@gmail.com wrote: On Mon, Oct 5, 2009 at 6:02 PM, Jack Widman jack.wid...@gmail.com wrote: Why don't we make Esperanto the official Lift language? I'd say make Scala the official language ;) On

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Kevin Wright
I was about to offer a smattering of Greek, Swedish and Hungarian (don't ask...) But scala has to take the prize, I wonder if we couldn't implement lojban as a DSL? :) On Mon, Oct 5, 2009 at 8:49 PM, Viktor Klang viktor.kl...@gmail.com wrote: On Mon, Oct 5, 2009 at 6:02 PM, Jack Widman

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Timothy Perrett
Call me old fashioned, but good ol' English seems to be quite prevalent these days ;-) On 5 Oct 2009, at 17:02, Jack Widman wrote: Why don't we make Esperanto the official Lift language? --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread David Pollak
On Mon, Oct 5, 2009 at 9:35 AM, Timothy Perrett timo...@getintheloop.euwrote: Call me old fashioned, but good ol' English seems to be quite prevalent these days ;-) Is this the Queen's English? ;-) On 5 Oct 2009, at 17:02, Jack Widman wrote: Why don't we make Esperanto the official

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Jack Widman
I'm not sure English is Turing Complete. Also not sure how prominent it will be in 50 years ... :) On Mon, Oct 5, 2009 at 5:51 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Mon, Oct 5, 2009 at 9:35 AM, Timothy Perrett timo...@getintheloop.euwrote: Call me old fashioned, but

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Kevin Wright
On Mon, Oct 5, 2009 at 10:54 PM, Jack Widman jack.wid...@gmail.com wrote: I'm not sure English is Turing Complete. Also not sure how prominent it will be in 50 years ... :) Nor I, but I'm certain that Turing was (Queen's) English complete... :) On Mon, Oct 5, 2009 at 5:51 PM, David Pollak

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread Timothy Perrett
Only the Queen speaks the queens english - your average schmuck on this isle can only just about manage to string together a sentence! HAHA. Cheers, Tim On 5 Oct 2009, at 22:51, David Pollak wrote: On Mon, Oct 5, 2009 at 9:35 AM, Timothy Perrett timo...@getintheloop.eu wrote: Call

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-04 Thread ishiijp
Thank you for your example, David. It will work in my purpose. It seems that my poor English and less information let some people confused. I need just a request scope data. It means I want to share information between snippets across a request. (Is the expression request scope not good for in

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread Kevin Wright
If the information is created just once and then used across multiple requests, it'll be a lazy val in a singleton If it's request-dependent then it'll be a singleton extending RequestVar Sadly, the OP didn't specify what was needed :( On Sat, Sep 26, 2009 at 2:35 PM, Timothy Perrett

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread Kevin Wright
You could always try putting your lazy val inside a singleton object On Sat, Sep 26, 2009 at 8:14 AM, ishiijp yoshinori.is...@gmail.com wrote: Hi. If my lift application have some data that cost to create, and I want to share it among snippets, how to do in Lift? if such data are shared

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread Kevin Wright
On Sat, Sep 26, 2009 at 2:54 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Sep 26, 2009 at 6:40 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: If the information is created just once and then used across multiple requests, it'll be a lazy val in a singleton A lazy

[Lift] Re: How to share request scope data among snippets in Lift

2009-09-26 Thread David Pollak
On Sat, Sep 26, 2009 at 6:40 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: If the information is created just once and then used across multiple requests, it'll be a lazy val in a singleton A lazy val in a singleton will not work. Once it's calculated, it's calculated and cannot be