[Lift] Re: access to raw HttpServletRequest/Response

2009-09-25 Thread David Pollak
On Wed, Sep 23, 2009 at 9:03 AM, harryh har...@gmail.com wrote: You can do it today like this: S.containerRequest.map(r = (r.asInstanceOf[HTTPRequestServlet]).req) eh? I'm getting this error: [error] value req is not a member of net.liftweb.http.provider.servlet.HTTPRequestServlet

[Lift] Re: access to raw HttpServletRequest/Response

2009-09-23 Thread harryh
You can do it today like this: S.containerRequest.map(r = (r.asInstanceOf[HTTPRequestServlet]).req) eh? I'm getting this error: [error] value req is not a member of net.liftweb.http.provider.servlet.HTTPRequestServlet [error] val request: HttpServletRequest = S.containerRequest.map(r =

[Lift] Re: access to raw HttpServletRequest/Response

2009-09-22 Thread marius d.
I really don't think Lift should expose directly expose servlet references. Applications still have access to servlet stuff by explicit casting. You can do it today like this: S.containerRequest.map(r = (r.asInstanceOf[HTTPRequestServlet]).req) Br's, Marius On Sep 22, 3:53 pm, David Pollak