You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Ruud Steeghs <ru...@yahoo.com> on 2004/01/23 19:05:16 UTC

macro libraries

are there any macro libraries available e.g. for
formatting numbers, dates, curriencies, similar to the
jstl taglibs?

though it wouldn't be such a hard thing to write them,
i'm pretty sure someone else has already had a need
for them.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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


Re: macro libraries

Posted by Ruud Steeghs <ru...@yahoo.com>.
great stuff!
that's the last thing i needed to be convince.
no more jsp; velocity from now on... 


--- Nathan Bubna <na...@esha.com> wrote:
> Mike Kienenberger said:
> > Ruud Steeghs <ru...@yahoo.com> wrote:
> > > are there any macro libraries available e.g. for
> > > formatting numbers, dates, curriencies, similar
> to the
> > > jstl taglibs?
> > > 
> > > though it wouldn't be such a hard thing to write
> them,
> > > i'm pretty sure someone else has already had a
> need
> > > for them.
> > 
> > The generic velocity tool NumberFormatTool will do
> formatting as per 
> > java.text.NumberFormat.
> > There's also a DateTool.
> 
> more on these can be found at:
> http://jakarta.apache.org/velocity/tools/generic/
> 
> Nathan Bubna
> nathan@esha.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> velocity-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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


Re: macro libraries

Posted by Nathan Bubna <na...@esha.com>.
Mike Kienenberger said:
> Ruud Steeghs <ru...@yahoo.com> wrote:
> > are there any macro libraries available e.g. for
> > formatting numbers, dates, curriencies, similar to the
> > jstl taglibs?
> > 
> > though it wouldn't be such a hard thing to write them,
> > i'm pretty sure someone else has already had a need
> > for them.
> 
> The generic velocity tool NumberFormatTool will do formatting as per 
> java.text.NumberFormat.
> There's also a DateTool.

more on these can be found at:
http://jakarta.apache.org/velocity/tools/generic/

Nathan Bubna
nathan@esha.com

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


Re: macro libraries

Posted by Mike Kienenberger <mk...@alaska.net>.
Ruud Steeghs <ru...@yahoo.com> wrote:
> are there any macro libraries available e.g. for
> formatting numbers, dates, curriencies, similar to the
> jstl taglibs?
> 
> though it wouldn't be such a hard thing to write them,
> i'm pretty sure someone else has already had a need
> for them.

The generic velocity tool NumberFormatTool will do formatting as per 
java.text.NumberFormat.
There's also a DateTool.

-Mike


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