No, I think you mean there is not a guaranteed **session** (it is
S.servletSession that returns a Box)

I agree that once I go through the servletSession I should not just
open_! the Box.
But that's not the point I am trying to make. I think there should be
a way to get the ServletContext without going through the
servletSession.
In other words: It's quite possible that there is no session in a lift
snippet, but there always is a ServletContext (I assume..).
However, it's a different question whether there's currently a method
available in lift that enables me to get the ServletContext from a
snippet (I couldn't find it).

Rintcius

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

Reply via email to