velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: AJAX anyone?
Date Fri, 25 Aug 2006 22:37:44 GMT
One more quick note.  With prototype.js, it's easy to use the Updater
javascript function to populate a DIV tag on the fly with an HTML
formatted chunk.  Again, it's easy to do this chunk in Velocity (or
any templating language, really).

WILL

On 8/25/06, Will Glass-Husain <wglass@forio.com> wrote:
> I use Velocity with Ajax to generate the server-side responses.  More
> commonly I do JSON responses but have also done XML.  For me, the
> Velocity does no parsing, merely generates the AJAX reponse like it
> would any other text.   It's convenient to specify a few lines of
> velocity, save it to my web directory, then retrieve with an AJAX
> call.
>
> WILL
>
> On 8/25/06, Scott Edward Skinner <sskinner@cloud9.net> wrote:
> > I use and love Velocity, but when I want to deal with XML I use
> > FreeMarker, which supports XPATH and can parse very easily.
> >
> > I have Spring configured to use both Velocity and FreeMarker so I can use
> > one or the other for any given view.
> >
> > S     |\_._/|     .-.
> > E     | o o |_   / /
> > S   _.(  T  ) `./ /
> > ---(((-`-(((---------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> wglass@forio.com
> www.forio.com
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message