velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Mora <d_m...@yahoo.com>
Subject Re: know when i'm in the last element of a set
Date Mon, 26 Mar 2001 18:56:11 GMT

I work! Thank you very much to everybody!

Another question! :)

I declared a macro like this:

#macro( relation_decl $relation )
	private java.util.Vector _orig_${relation.name} =
null;
	private java.util.Vector _${relation.name} = new
java.util.Vector();
#end


but when i call it the first row indentation is ok,
while the others no, result: the code is messy.
There is a solution for this?
Thank you again,
Davide

--- Jon Stevens <jon@latchkey.com> wrote:
> on 3/26/01 7:33 AM, "Jason van Zyl"
> <jvanzyl@apache.org> wrote:
> 
> > In Torque I just add a comma regardless and chop
> it
> > off when the column processing is done.
> 
> I like Geir's solution better. :-)
> 
> -jon
> 
> -- 
> If you come from a Perl or PHP background, JSP is a
> way to take
> your pain to new levels. --Anonymous
> <http://jakarta.apache.org/velocity/ymtd/ymtd.html>
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message