velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasilis <>
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,

View this message in context:
Sent from the Velocity - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message