logo       

Re: html macro library: msg#00193

jakarta.velocity.user

Subject: Re: html macro library

Friday, May 30, 2003, 6:38:52 PM, Kevin Bolton wrote:

> Hey Jonathan,
>
> Thank you for your response and I'm with you on the need for
> #directiveA(#directiveB)). It'd also be mighty handy to be able to
> overload methods. That is have methods with the same name with
> different arguments.

That should not look like that. That should be:

#directiveA()
#directiveB
#end

but the parser will not know that directiveA supports body, so it has a
corresponding #end... a trap of the VTL syntax.

--
Best regards,
Daniel Dekany


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

News | FAQ | advertise