On Thu, Oct 1, 2009 at 9:18 AM, rintcius <rintc...@gmail.com> wrote:

>
> Ok thanks David. What is the recommended way to get the ServletContext
> from a lift snippet (in 1.0.2)?
>

Use the for comprehension to test if a Box is empty or not.

See
http://blog.lostlake.org/index.php?/archives/50-The-Scala-Option-class-and-how-lift-uses-it.html(for
the current purpose, Option and Box have the same purpose)


>
> Rintcius
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--~--~---------~--~----~------------~-------~--~----~
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