velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jobol Bojol" <jobolo...@gmail.com>
Subject New lines in velocity set()?
Date Fri, 16 Nov 2007 17:52:46 GMT
Hi,

  I am new to velocity. I was wondering if I can have new lines in any
of the string latters such as in this example:

#set($context = "<B>My content</B>
                          <p>my content</p>"

 I tried using the "+" and the "\" but i am not having much luck.
Right now I have a long HTML on the same line and it doesnt look right
and is hard to maintain.

 Any help would be appreciated.

Thanks.

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


Mime
View raw message