logo       

Re: html macro library: msg#00183

jakarta.velocity.user

Subject: Re: html macro library

Kevin said:
> Has anyone developed a macro library for standard html items? For
> example:
>
> #macro (html_href $link $text)
>
> <a href='$link'>$text</a>
>
> #end

There have been some plans to create a library of velocimacros for the
velocity-tools project. At this point, that has not really begun, and the
specific goals and parameters of such a library have yet to be firmly
established. However, I can say with some measure of confidence that it is
unlikely that an #html_ref macro would be included. At the moment, my opinions
on that are much the same as Lev's. Such a thing adds as much complexity as it
would replace. I do think though that useful, "standard" html macros can exist.
There are several I use often that I consider to be candidates for such a
library.

Nathan Bubna
nathan@xxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise