On Mon, Nov 9, 2009 at 11:38 PM, Marius <[email protected]> wrote:

>
> http://www.scala-lang.org/docu/files/api/scala/xml/PrettyPrinter.html
>
> But this can be done today using:   val responseTransformers = RulesSeq
> [LiftResponse => LiftResponse]
>
> LiftRules.responseTransformers.append {
>  case response => // do some LiftResponse pattern matching here for
> and XhtmlResponse, take the NodeSeq and run it against the pretty
> printer above.
>                            // and return the new XhtmlResponse
> }
>
>
Thanks!

It also shows that no one person knows everything about Lift (which is a
very, very good this).

I gave a Lift preso at the Bay Area Scala Enthusiasts yesterday and people
kept asking me questions about Lift that I had no clue about (some of it
about the JSON stuff, widgets, build-related, etc.)  I felt so good being
able to say that Lift is built by a team and maintained and supported by a
team.  So, thanks team!


> Br's,
> Marius
>
> On Nov 10, 8:37 am, David Pollak <[email protected]>
> wrote:
> > On Mon, Nov 9, 2009 at 3:28 PM, Peter Robinett <[email protected]
> >wrote:
> >
> >
> >
> > > How hard would this be to implement?
> >
> > Does a Scala XML pretty-printer exist?
> >
> > If one does, I could see adding a NodeSeq => NodeSeq function near the
> end
> > of the rendering pipeline.
> >
> >
> >
> > > I'm a big fan of pretty HTML
> > > output, so I'd be interested in implementing this if it's not too
> > > hard.
> >
> > > Peter Robinett
> >
> > > On Nov 7, 7:06 am, David Pollak <[email protected]> wrote:
> > > > On Sat, Nov 7, 2009 at 1:01 AM, aw <[email protected]> wrote:
> >
> > > > > Is there a mode whereby I can turn on pretty printed output for my
> > > > > xhtml?  (I'm thinking of a LiftRule, I think?).  Preferably, I'd
> also
> > > > > like to control some details like indentation size.
> >
> > > > No mode for that... sorry.
> >
> > > > --
> > > > 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
> >
>


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