velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tal Dayan" <>
Subject RE: Standard library
Date Sat, 14 Jul 2001 04:04:34 GMT

We just implemented few methods for text formatting, current time and date,
escaping of HTML code (e.g. change "a > 7" to "a &gt; 7"). Nothing really

How do you see this library from the template user's view point? Will
it be just a set of independent library objects $mylib.method1(),
etc ? What about having a single staring point with some plug in mechanism
as $lib.mylib1.method1(), $lib.hislib.method2(), etc ?

Having some standard or a framework for the library will make it
easier to integrate contribution from multiple people.


> -----Original Message-----
> From: []On
> Behalf Of Geir Magnusson Jr.
> Sent: Friday, July 13, 2001 7:44 PM
> To:
> Subject: Re: Standard library
> Tal Dayan wrote:
> >
> > Is there a standard library for Velocity templates for common operations
> > such as
> > getting the current date, printing a string to stdout, string
> > processing, etc ?
> In velocity, they wouldn't be templates, but 'tools' to put into the
> context.  We got a few submissions from users and I put them into the
> Jakarta Commons sandbox, under the mysterious name 'Rupert'.  (I chose
> rupert because we didn't have a name... :)
> So thats a start - if you want to use them, grab them.  If you want to
> start working on the project of organizing and developing more tools,
> please do.  Take a look and give a shout back here or on the Jakarta
> commons list.
> geir
> --
> Geir Magnusson Jr.                 
> System and Software Consulting
> Developing for the web?  See
> You have a genius for suggesting things I've come a cropper with!

View raw message