2009/4/22 David Pollak <feeder.of.the.be...@gmail.com>:
>
>
> On Wed, Apr 22, 2009 at 9:16 AM, James Strachan <james.strac...@gmail.com>
> wrote:
>>
>> 2009/4/22 David Pollak <feeder.of.the.be...@gmail.com>:
>> > James,
>> >
>> > This is an interesting idea that more than one person has expressed
>> > excitement about.  Jorge Ortiz (one of the Lift committers) was
>> > puttering
>> > around with the separation of Lift's templating from the rest of Lift.
>> > Personally, I think it's a pretty daunting task because a lot of the
>> > ways
>> > that Lift looks for templates and does its wiring and looks for snippets
>> > and
>> > generally re-writes the XML (e.g., to insert the Comet JavaScript), is
>> > woven
>> > tightly with the rest of Lift (e.g., LiftRules, LiftSession, etc.)
>> >
>> > I am in favor of something like this happening, but I really think it's
>> > non-trivial.
>> >
>> > Perhaps... just perhaps... we could do something where we put Java
>> > wrappers
>> > around some of the Lift-isms and use Lift as Filter in Java apps.  If
>> > you'd
>> > care to fork the Lift repository on GitHub and recruit a few others to
>> > help
>> > you, this could be an interesting side-project that, if successful, I
>> > could
>> > see as part of the main Lift distribution.
>>
>> Cool thanks.
>>
>> BTW I don't much mind about ripping the template stuff out of Lift
>> into a separate piece - I am totally happy to have
>> LiftRules/LiftSession, Comet et al there and to keep Lift intact.
>>
>> I guess all I really want is a way to render a NodeSeq which can
>> contain <lift:surround> and other arbitrary snippets inside. So all I
>> really want is another entry point into Lift other than the
>> filter/servlet where somehow I can do something like this...
>>
>> LiftServlet.render(xhtml:NodeSeq, out:OutputStream)
>
> Would:
>
> LiftServlet.render(xhtml:NodeSeq, httpRequest: HttpServletRequest):
> LiftResponse
>
> work along with helper methods to stream a LiftResponse out to an
> OutputStream work?

That would be perfect, yes please! :)

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

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