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.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 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 thoughts to
>> > English.  I apologize that I only speak English, but would love to speak
>> > Japanese, German, Russian, and a few other languages.
>>
>> oh you gotta learn Romanian :)
>>
>> >
>> > > 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 this case...?)
>> >
>> > "request scope" is exactly the right phrase.
>> >
>> >
>> >
>> >
>> >
>> > > Thank all responsed my post,
>> > > and your suggestions are informative.
>> > > I think very nice community is here.
>> >
>> > > On 9月26ζ—₯, 午後10:33, David Pollak <feeder.of.the.be...@gmail.com>
>> wrote:
>> > > > To share information between snippets during a request, use a
>> RequestVar:
>> > > > object MyInfo extends RequestVar(calculate_value)
>> >
>> > > > so
>> >
>> > > > object MyInfo extends RequestVar[Box[Invoice]](Empty)
>> >
>> > > > in one snippet, you may calculate the Invoice and put it in the
>> MyInfo:
>> >
>> > > > MyInfo.set(Full(invoice))
>> >
>> > > > In another snippet, you can extract:
>> >
>> > > > for {
>> > > >   invoice <- MyInfo.is
>> > > >   } yield ...
>> >
>> > > > Note that the "calculate_value" is a call-by-name parameter, so it
>> will
>> > > be
>> > > > invoked each time the RequestVar is uninitialized.  You can place
>> lazy
>> > > > calculation logic in here.
>> >
>> > > > On Sat, Sep 26, 2009 at 12: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 inside one snippet, I may use "lazy val".
>> > > > > But I have no nice idea to share it among different snippts.
>> >
>> > > > > Thanks much.
>> >
>> > > > --
>> > > > Lift, the simply functional web frameworkhttp://liftweb.net
>> > > > Beginning Scalahttp://www.apress.com/book/view/1430219890
>> > > > Follow me:http://twitter.com/dpp
>> > > > Surf the harmonics
>> >
>> > --
>> > Lift, the simply functional web frameworkhttp://liftweb.net
>> > Beginning Scalahttp://www.apress.com/book/view/1430219890
>> > Follow me:http://twitter.com/dpp
>> > Surf the harmonics
>>
>>
>
>
> --
> Jack
>
>
> >
>


-- 
Viktor Klang

Blog: klangism.blogspot.com
Twttr: viktorklang

Lift Committer - liftweb.com
AKKA Committer - akkasource.org
Cassidy - github.com/viktorklang/Cassidy.git
SoftPub founder: http://groups.google.com/group/softpub

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to