velocity-user mailing list archives

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

  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.


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

View raw message