velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasilis <vas_o...@yahoo.gr>
Subject Formatting template in rows
Date Wed, 24 Oct 2007 13:17:35 GMT

Hi all ,

I am using Velocity to create autogenerated mail messages. These messages
will be in html and text format. I want to represent data in rows and
columns like in a table. For the html format this is easy just using the
velocity $for command and represent the data using <td> and <tr>. How can I
achieve this in the text without looing the table formatting? 
Below there is an example of what I want to do:

Item           Price         VAT
$item[1]     $price[1]     $vat[1]
$item[2]     $price[2]     $vat[2]
$item[..]     $price[..]    $vat[..]

Thanks in advance,
Roy
 

-- 
View this message in context: http://www.nabble.com/Formatting-template-in-rows-tf4683983.html#a13384548
Sent from the Velocity - User mailing list archive at Nabble.com.


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


Mime
View raw message