velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stepan Koltsov <y...@mx1.ru>
Subject Re: Require newline
Date Wed, 02 Jun 2004 03:20:29 GMT
It was in HTML?

So you want something like

Title ${content.title}
<br/>
Author ${content.author}
<br/>
ISBN  ${content.printISBN}
<br/>
Publisher ${content.publisher}

On Wed, Jun 02, 2004 at 10:08:50AM +0800, Ian Spence wrote:
> Hello Velocity Users,
> 
> The following velocity template produces lines that are concatenated.
> Instead we would like to see newlines appear as is shown in the
> template.
> 
> --Template--
> Title ${content.title}
> Author ${content.author}
> ISBN  ${content.printISBN}
> Publisher ${content.publisher}
> ----
> 
> --Output--
> Title The Firm Author John Grisham ISBN  123456789 Publisher Publisher
> Co.
> ----
> 
> Any ideas ?
> 
> Regards,
> Ian Spence
>  
> EBooks Corporation
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 

-- 
Будущее компании "Мегафон" зависит от тебя.

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


Mime
View raw message