Not quite sure what you are trying to do. What does this mean?
I am wondering how I can enforce elements shown like them in a "table
cell" in plain text.
Are you talking about how to exactly specify spaces, tabs and newlines
in the file?
WILL
On 12/14/06, kkus <[EMAIL PROTECTED]> wrote:
In .vm file, I am trying keep its format by using html as below and send it
to my yahoo and gmail accounts.
<table cellpadding="1" cellspacing="1" border="1" width="100%">
<tr>
<td>orderName</td>
<td>orderQuantity</td>
</tr>
#foreach ($orderItem in $orderItems)
<tr>
<td>$orderItem.get(0)</td>
<td>$orderItem.get(1)</td>
</tr>
#end
</table>
Problem is yahoo and gmail can't display html email properly and I have to
convert to plain text as below, which led to tab issue(I provide tab between
them). I am wondering how I can enforce elements shown like them in a "table
cell" in plain text. Thanks!
orderName orderQuantity
#foreach ($orderItem in $orderItems)
$orderItem.get(0) $orderItem.get(1)
#end
--
View this message in context:
http://www.nabble.com/how-to-keep-format-in-velocity-file-tf2821666.html#a7875631
Sent from the Velocity - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]