velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sujay Jayaram" <su...@weddingpath.com>
Subject Re: velocitycount
Date Mon, 29 May 2006 11:48:35 GMT
Hi Eloi,

 

Try

 

#foreach( $myRowNum in [1..$input_name.value] ) 

            <do your table stuff>

#end

 

Thanks

 

Sujay Jayaram



Eloi.Burgues@bull.net wrote:

here's my problem:

I have a table with a variable number of rows, the number of rows is given
as value in a hidden input in html code

the thing i need to do is a loop from 1 to input_name.value and in every
iteration i put one row of the table

I have tried the foreach with the default velocitycount (in
velocity.propierties), but I haven't had the good results

Thanks



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

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message