Return-Path: Delivered-To: apmail-jakarta-velocity-user-archive@www.apache.org Received: (qmail 82848 invoked from network); 2 Jun 2004 03:20:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jun 2004 03:20:46 -0000 Received: (qmail 46336 invoked by uid 500); 2 Jun 2004 03:21:03 -0000 Delivered-To: apmail-jakarta-velocity-user-archive@jakarta.apache.org Received: (qmail 46306 invoked by uid 500); 2 Jun 2004 03:21:02 -0000 Mailing-List: contact velocity-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Velocity Users List" Reply-To: "Velocity Users List" Delivered-To: mailing list velocity-user@jakarta.apache.org Received: (qmail 46290 invoked by uid 99); 2 Jun 2004 03:21:02 -0000 Received: from [158.250.16.19] (HELO mx1.ru) (158.250.16.19) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 01 Jun 2004 20:21:02 -0700 Received: from yozh by mx1.ru with local (Exim 3.36 #1) id 1BVMIn-00035q-00 for velocity-user@jakarta.apache.org; Wed, 02 Jun 2004 07:20:29 +0400 Date: Wed, 2 Jun 2004 07:20:29 +0400 To: Velocity Users List Subject: Re: Require newline Message-ID: <20040602032029.GA11865@banana.mx1.ru> References: <002a01c44846$8ea67240$6f00a8c0@IAN> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <002a01c44846$8ea67240$6f00a8c0@IAN> User-Agent: Mutt/1.5.4i From: Stepan Koltsov X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It was in HTML? So you want something like Title ${content.title}
Author ${content.author}
ISBN ${content.printISBN}
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