From velocity-user-returnwayne03@example.net Mon Dec 05 14:45:47 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 21938 invoked from network); 5 Dec 2005 14:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Dec 2005 14:45:45 -0000 Received: (qmail 85323 invoked by uid 500); 5 Dec 2005 14:45:40 -0000 Delivered-To: wayne03@example.net Received: (qmail 85310 invoked by uid 500); 5 Dec 2005 14:45:39 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 76537 invoked by uid 99); 5 Dec 2005 14:41:50 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=HTML_MESSAGE,HTML_SHORT_COMMENT,MIME_HTML_MOSTLY,MPART_ALT_DIFF X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) X-FNMA: MAIL03-PROD X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5F9A9.F894CAE4" Subject: Bad URL for "VTL Reference Guide" -- not found "http://demo.simunication.com/simspecs/vtl-reference-guide.html" Date: Mon, 5 Dec 2005 09:41:26 -0500 Message-ID: <wayne03@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bad URL for "VTL Reference Guide" -- not found "http://demo.simunication.com/simspecs/vtl-reference-guide.html" thread-index: AcX5RDgiLAjlwITnR6OHOxtkrnHxBQ== From: "Quick, Tim \(Contractor\)" <wayne03@example.net> To: <wayne03@example.net> X-OriginalArrivalTime: 05 Dec 2005 14:41:26.0764 (UTC) FILETIME=[F8B9C2C0:01C5F9A9] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5F9A9.F894CAE4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ------_=_NextPart_001_01C5F9A9.F894CAE4-- From velocity-user-returnwayne03@example.net Mon Dec 05 16:21:08 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 93845 invoked from network); 5 Dec 2005 16:21:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Dec 2005 16:21:08 -0000 Received: (qmail 98664 invoked by uid 500); 5 Dec 2005 16:21:04 -0000 Delivered-To: wayne03@example.net Received: (qmail 98644 invoked by uid 500); 5 Dec 2005 16:21:04 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 98633 invoked by uid 99); 5 Dec 2005 16:21:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 08:21:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 08:21:03 -0800 Received: by zproxy.gmail.com with SMTP id 14so1009827nzn for <wayne03@example.net>; Mon, 05 Dec 2005 08:20:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fo3OlYRvCMfLLya83wgk3IDWxWVMwCWs3rSV3FeilaPluToN2gsfTpGxoqrfxfUk6p5uCaUI9lHiec7x5HNvrOvIofC5on+rVLdsaif6H/XwAGwdPHdXhny1PB3g5/9qMBMU1Sge+fFYLblT7cLVYixb9tipSzZw6GW0GCrYpI8= Received: by 83.161.120.155 with SMTP id a3mr2881149qbl; Mon, 05 Dec 2005 08:20:42 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 5 Dec 2005 08:20:41 -0800 (PST) Message-ID: <wayne03@example.net> Date: Mon, 5 Dec 2005 08:20:42 -0800 From: Nathan Bubna <wayne03@example.net> To: Velocity Users List <wayne03@example.net> Subject: Re: Bad URL for "VTL Reference Guide" -- not found "http://demo.simunication.com/simspecs/vtl-reference-guide.html" In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N i've no idea where you got that url. http://jakarta.apache.org/velocity/docs/vtl-reference-guide.html On 12/5/05, Quick, Tim (Contractor) <wayne03@example.net> wrote: > > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Mon Dec 05 16:24:23 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 97033 invoked from network); 5 Dec 2005 16:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Dec 2005 16:24:23 -0000 Received: (qmail 10959 invoked by uid 500); 5 Dec 2005 16:24:20 -0000 Delivered-To: wayne03@example.net Received: (qmail 10934 invoked by uid 500); 5 Dec 2005 16:24:19 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 10922 invoked by uid 99); 5 Dec 2005 16:24:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 08:24:19 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO atlrel6.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 08:24:19 -0800 Received: from ataexg12.americas.cpqcorp.net (ataexg12.americas.cpqcorp.net [83.161.120.155]) by atlrel6.hp.com (Postfix) with ESMTP id AFE3736280 for <wayne03@example.net>; Mon, 5 Dec 2005 11:23:57 -0500 (EST) Received: from ataexc02.americas.cpqcorp.net ([83.161.120.155]) by ataexg12.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 5 Dec 2005 11:23:57 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Bad URL for "VTL Reference Guide" -- not found "http://demo.simunication.com/simspecs/vtl-reference-guide.html" Date: Mon, 5 Dec 2005 11:23:56 -0500 Message-ID: <wayne03@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bad URL for "VTL Reference Guide" -- not found "http://demo.simunication.com/simspecs/vtl-reference-guide.html" Thread-Index: AcX5t+uXivodxnb6T8OGJ5rp0E9g5wAADFpg From: "Green, Cloid John" <wayne03@example.net> To: "Velocity Users List" <wayne03@example.net> X-OriginalArrivalTime: 05 Dec 2005 16:23:57.0498 (UTC) FILETIME=[4AD949A0:01C5F9B8] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Me either. Thanks for the above and I now understand my problem. EBSK ( Error Between Seat and Keyboard ) -----Original Message----- From: Nathan Bubna [mailto:wayne03@example.net]=20 Sent: Monday, December 05, 2005 10:21 AM To: Velocity Users List Subject: Re: Bad URL for "VTL Reference Guide" -- not found "http://demo.simunication.com/simspecs/vtl-reference-guide.html" i've no idea where you got that url. http://jakarta.apache.org/velocity/docs/vtl-reference-guide.html On 12/5/05, Quick, Tim (Contractor) <wayne03@example.net> wrote: > > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Tue Dec 06 07:01:05 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 33433 invoked from network); 6 Dec 2005 07:01:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Dec 2005 07:01:04 -0000 Received: (qmail 72368 invoked by uid 500); 6 Dec 2005 07:01:02 -0000 Delivered-To: wayne03@example.net Received: (qmail 72152 invoked by uid 500); 6 Dec 2005 07:01:01 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 72124 invoked by uid 99); 6 Dec 2005 07:01:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 23:01:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 23:01:00 -0800 Received: by nproxy.gmail.com with SMTP id l37so493310nfc for <wayne03@example.net>; Mon, 05 Dec 2005 23:00:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=iZN7kd2xb/gw4dmK9DiN9ZUXNdd8dyPbLSsPq+kbNsY2dwWrA19VD9N5mXZz24iNE7JhA0YOM8o43sTpGMSZmsGEZyRLf0rlJlt5azCh09GArZ2gASNQIb+1R22jkgAkc6AotikLHngRQmXteuGf/fjl3loA6JX6McG/aVfdM8c= Received: by 83.161.120.155 with SMTP id h8mr23859nfg; Mon, 05 Dec 2005 23:00:38 -0800 (PST) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id p20sm80434nfc.283.161.120.155.00.38; Mon, 05 Dec 2005 23:00:38 -0800 (PST) Message-ID: <wayne03@example.net> Date: Tue, 06 Dec 2005 08:00:51 +0100 From: =?ISO-8859-2?Q?Tomek_Ma=E6kowski?= <wayne03@example.net> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: wayne03@example.net Subject: Escapng problem Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi I have a problem with escaping '$' character in Velocity I want to produce literal: arg1value="${var:maxlength}" When i type it in my template "as is" I recive an exception: [java] org.apache.velocity.exception.ParseErrorException: Encountered ":maxlength}\"\r\n" at line 25, column 49. [java] Was expecting one of: [java] "}" ... [java] <DOT> ... When I type arg1value="\${var:maxlength}" result is the same. --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Tue Dec 06 14:41:12 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 66953 invoked from network); 6 Dec 2005 14:41:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Dec 2005 14:41:12 -0000 Received: (qmail 74816 invoked by uid 500); 6 Dec 2005 14:41:08 -0000 Delivered-To: wayne03@example.net Received: (qmail 74780 invoked by uid 500); 6 Dec 2005 14:41:08 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 74769 invoked by uid 99); 6 Dec 2005 14:41:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 06:41:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 06:41:07 -0800 Received: by zproxy.gmail.com with SMTP id x7so59243nzc for <wayne03@example.net>; Tue, 06 Dec 2005 06:40:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fbovMlo5IPRzFvJVbNCoTFXe3ifyL+LS2icD+eBhIllCUV8StCjQeUduCBpVbwxNYvBdA2sXwTjUjxXh9xKqbaC17C2K1QojAWRX4gxDv+wNqbOtSXFYYNeyMXHob+sxBFlN9RtpHz80csethQu4dv6CpLBZq0w0t4Y2wJJr2CA= Received: by 83.161.120.155 with SMTP id i10mr520646qbp; Tue, 06 Dec 2005 06:40:46 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 6 Dec 2005 06:40:45 -0800 (PST) Message-ID: <wayne03@example.net> Date: Tue, 6 Dec 2005 06:40:45 -0800 From: Nathan Bubna <wayne03@example.net> To: Velocity Users List <wayne03@example.net> Subject: Re: Escapng problem In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I3NldCggJGQgPSAnJCcgKQphcmcxdmFsdWU9IiRke3ZhcjptYXhsZW5ndGh9IgoKb3IgaWYgeW91 IGhhdmUgdGhlIEVzY2FwZVRvb2wgaW4gdGhlIGNvbnRleHQgKGZyb20gVmVsb2NpdHlUb29scykK CmFyZzF2YWx1ZT0iJGVzYy5ke3ZhcjptYXhsZW5ndGh9IgoKXCRmb28gaXMgZm9yIGVzY2FwaW5n IF9yZWZlcmVuY2VzXyBub3QgZm9yIGVzY2FwaW5nIHRoZSAkIGNoYXJhY3Rlci4gCnZlbG9jaXR5 IHdhcyBzdGlsbCB0cnlpbmcgdG8gcGFyc2UgaXQgYXMgYSByZWZlcmVuY2UuCgpPbiAxMi81LzA1 LCBUb21layBNYeZrb3dza2kgPHRtYWNrb3dza2lAZ21haWwuY29tPiB3cm90ZToKPiBIaQo+Cj4g SSBoYXZlIGEgcHJvYmxlbSB3aXRoIGVzY2FwaW5nICckJyBjaGFyYWN0ZXIgaW4gVmVsb2NpdHkK Pgo+IEkgd2FudCB0byBwcm9kdWNlIGxpdGVyYWw6Cj4gYXJnMXZhbHVlPSIke3ZhcjptYXhsZW5n dGh9Igo+Cj4gV2hlbiBpIHR5cGUgaXQgaW4gbXkgdGVtcGxhdGUgImFzIGlzIiBJIHJlY2l2ZSBh biBleGNlcHRpb246Cj4KPiAgICAgIFtqYXZhXSBvcmcuYXBhY2hlLnZlbG9jaXR5LmV4Y2VwdGlv bi5QYXJzZUVycm9yRXhjZXB0aW9uOgo+IEVuY291bnRlcmVkICI6bWF4bGVuZ3RofVwiXHJcbiIg YXQgbGluZSAyNSwgY29sdW1uIDQ5Lgo+ICAgICAgW2phdmFdIFdhcyBleHBlY3Rpbmcgb25lIG9m Ogo+ICAgICAgW2phdmFdICJ9IiAuLi4KPiAgICAgIFtqYXZhXSA8RE9UPiAuLi4KPgo+Cj4gV2hl biBJIHR5cGUKPgo+IGFyZzF2YWx1ZT0iXCR7dmFyOm1heGxlbmd0aH0iCj4KPiByZXN1bHQgaXMg dGhlIHNhbWUuCj4KPiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KPiBUbyB1bnN1YnNjcmliZSwgZS1tYWlsOiB2ZWxv Y2l0eS11c2VyLXVuc3Vic2NyaWJlQGpha2FydGEuYXBhY2hlLm9yZwo+IEZvciBhZGRpdGlvbmFs IGNvbW1hbmRzLCBlLW1haWw6IHZlbG9jaXR5LXVzZXItaGVscEBqYWthcnRhLmFwYWNoZS5vcmcK Pgo+Cg== From velocity-user-returnwayne03@example.net Tue Dec 06 14:50:18 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 71864 invoked from network); 6 Dec 2005 14:50:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Dec 2005 14:50:17 -0000 Received: (qmail 98444 invoked by uid 500); 6 Dec 2005 14:50:14 -0000 Delivered-To: wayne03@example.net Received: (qmail 98430 invoked by uid 500); 6 Dec 2005 14:50:14 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 98416 invoked by uid 99); 6 Dec 2005 14:50:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 06:50:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 06:50:13 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Eje6c-0002Ip-W2 for wayne03@example.net; Tue, 06 Dec 2005 15:47:47 +0100 Received: from ip86.ds1-soeb.adsl.cybercity.dk ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <wayne03@example.net>; Tue, 06 Dec 2005 15:47:46 +0100 Received: from bmk by ip86.ds1-soeb.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <wayne03@example.net>; Tue, 06 Dec 2005 15:47:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: wayne03@example.net From: Magnus Kvalheim <wayne03@example.net> Subject: Change module with VelocityStruts? Date: Tue, 06 Dec 2005 15:45:06 +0100 Lines: 14 Message-ID: <wayne03@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: wayne03@example.net X-Gmane-NNTP-Posting-Host: ip86.ds1-soeb.adsl.cybercity.dk User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Sender: news <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, Changing modules in struts 1.2 is possible with the html:link tag. ------------ <html:link module="/mod2" action="module2Action.do"> Module2 </html:link> ------------ Does VelocityStruts provide similar functionality or would I have to create a SwitchAction in order to accomplish this task? thanks Magnus --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Wed Dec 07 08:08:18 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 31627 invoked from network); 7 Dec 2005 08:08:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Dec 2005 08:08:17 -0000 Received: (qmail 80129 invoked by uid 500); 7 Dec 2005 08:08:13 -0000 Delivered-To: wayne03@example.net Received: (qmail 80111 invoked by uid 500); 7 Dec 2005 08:08:13 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 80100 invoked by uid 99); 7 Dec 2005 08:08:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 00:08:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 00:08:12 -0800 Received: by wproxy.gmail.com with SMTP id i20so266426wra for <wayne03@example.net>; Wed, 07 Dec 2005 00:07:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=jYqjxNGUrXYMGn6oeucBwVDy5V4UJKMEjgK6jS0WIEZ1Zcp5oIm4wySmJeY5kBz27ItN+zMxAGHKGfL5oPouo9QkEOnMOHi6sp4Ric1Z1hiUR4ZH00NjzmJ2xvHWoi3kaSe16Us03jAfZNmQulDh2lnFtyLi3gcJVKfBM784LRM= Received: by 83.161.120.155 with SMTP id x1mr1224049qbi; Wed, 07 Dec 2005 00:07:51 -0800 (PST) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id e10sm702362qbe.283.161.120.155.07.50; Wed, 07 Dec 2005 00:07:51 -0800 (PST) Message-ID: <wayne03@example.net> Date: Wed, 07 Dec 2005 09:08:04 +0100 From: =?ISO-8859-2?Q?Tomek_Ma=E6kowski?= <wayne03@example.net> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Velocity Users List <wayne03@example.net> Subject: Re: Escapng problem References: <wayne03@example.net> <wayne03@example.net> In-Reply-To: <wayne03@example.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for response I tried : #set( $d = '$' ) arg1value="$d{var:maxlength}" but result is still [java] org.apache.velocity.exception.ParseErrorException: Encountered ":maxlength}\"\r\n" at line 25, column 49. [java] Was expecting one of: [java] "}" ... [java] <DOT> ... Nathan Bubna napisa³(a): >#set( $d = '$' ) >arg1value="$d{var:maxlength}" > >or if you have the EscapeTool in the context (from VelocityTools) > >arg1value="$esc.d{var:maxlength}" > >\$foo is for escaping _references_ not for escaping the $ character. >velocity was still trying to parse it as a reference. > >On 12/5/05, Tomek Maækowski <wayne03@example.net> wrote: > > >>Hi >> >>I have a problem with escaping '$' character in Velocity >> >>I want to produce literal: >>arg1value="${var:maxlength}" >> >>When i type it in my template "as is" I recive an exception: >> >> [java] org.apache.velocity.exception.ParseErrorException: >>Encountered ":maxlength}\"\r\n" at line 25, column 49. >> [java] Was expecting one of: >> [java] "}" ... >> [java] <DOT> ... >> >> >>When I type >> >>arg1value="\${var:maxlength}" >> >>result is the same. >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: wayne03@example.net >>For additional commands, e-mail: wayne03@example.net >> >> >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Wed Dec 07 09:01:50 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 62721 invoked from network); 7 Dec 2005 09:01:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Dec 2005 09:01:50 -0000 Received: (qmail 90289 invoked by uid 500); 7 Dec 2005 09:01:47 -0000 Delivered-To: wayne03@example.net Received: (qmail 90257 invoked by uid 500); 7 Dec 2005 09:01:46 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 90245 invoked by uid 99); 7 Dec 2005 09:01:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 01:01:46 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 07 Dec 2005 01:01:45 -0800 Received: (qmail 18830 invoked by uid 0); 7 Dec 2005 09:01:21 -0000 Received: from 83.161.120.155 by www21.gmx.net with HTTP; Wed, 7 Dec 2005 10:01:21 +0100 (MET) Date: Wed, 7 Dec 2005 10:01:21 +0100 (MET) From: wayne03@example.net To: Velocity Users List <wayne03@example.net> MIME-Version: 1.0 Subject: Re: Escapng problem X-Priority: 3 (Normal) X-Authenticated: #9640468 Message-ID: <wayne03@example.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The formal reference notation ${foo} is hopefully a good workaround to make it work: #set( $d = '$' ) arg1value="${d}{var:maxlength}" It seems to me you found two related bugs in the parser. a) Trying to parse something that is not a real reference (starting with "${" and contining a ":") and throwing a PEE. b) Interpreting a "{" in the middle of a reference as part of it. Could you/someone confirm these are really bugs - testing against other similar expressions, creating a test-case, and then add a JIRA issue. Cheers, Christoph Tomek Ma&#263;kowski wrote: > Thanks for response > > I tried : > > #set( $d = '$' ) > arg1value="$d{var:maxlength}" > > but result is still > > [java] org.apache.velocity.exception.ParseErrorException: > Encountered ":maxlength}\"\r\n" at line 25, column 49. > [java] Was expecting one of: > [java] "}" ... > [java] <DOT> ... > > > > Nathan Bubna napisa&#322;(a): > >> #set( $d = '$' ) >> arg1value="$d{var:maxlength}" >> >> or if you have the EscapeTool in the context (from VelocityTools) >> >> arg1value="$esc.d{var:maxlength}" >> >> \$foo is for escaping _references_ not for escaping the $ character. >> velocity was still trying to parse it as a reference. >> >> On 12/5/05, Tomek Ma&#263;kowski <wayne03@example.net> wrote: >> >> >>> Hi >>> >>> I have a problem with escaping '$' character in Velocity >>> >>> I want to produce literal: >>> arg1value="${var:maxlength}" >>> >>> When i type it in my template "as is" I recive an exception: >>> >>> [java] org.apache.velocity.exception.ParseErrorException: >>> Encountered ":maxlength}\"\r\n" at line 25, column 49. >>> [java] Was expecting one of: >>> [java] "}" ... >>> [java] <DOT> ... >>> >>> >>> When I type >>> >>> arg1value="\${var:maxlength}" >>> >>> result is the same. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: wayne03@example.net >>> For additional commands, e-mail: wayne03@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Wed Dec 07 09:08:09 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 65975 invoked from network); 7 Dec 2005 09:08:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Dec 2005 09:08:09 -0000 Received: (qmail 3910 invoked by uid 500); 7 Dec 2005 09:08:06 -0000 Delivered-To: wayne03@example.net Received: (qmail 3895 invoked by uid 500); 7 Dec 2005 09:08:06 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 3883 invoked by uid 99); 7 Dec 2005 09:08:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 01:08:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 01:08:04 -0800 Received: by wproxy.gmail.com with SMTP id i21so141448wra for <wayne03@example.net>; Wed, 07 Dec 2005 01:07:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Ol3qTt/RT7oJVFcGj7wTNzN485SEEwEboKArtFBIw5ljm8FieLAs+aHrrr9K6yVOLBjaS41wjWH8R21JO/iWAJVFInb0d1p8XgCmHYy5S24rqckq09g1d2nzuAJTwmCwgaMD9FOuZQgQT2rLTEt4/NmvQTBQ6x+vqDkfya1of1A= Received: by 83.161.120.155 with SMTP id c3mr1583165qbs; Wed, 07 Dec 2005 01:07:44 -0800 (PST) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id a5sm661644qbd.283.161.120.155.07.42; Wed, 07 Dec 2005 01:07:44 -0800 (PST) Message-ID: <wayne03@example.net> Date: Wed, 07 Dec 2005 10:07:55 +0100 From: =?UTF-8?B?VG9tZWsgTWHEh2tvd3NraQ==?= <wayne03@example.net> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Velocity Users List <wayne03@example.net> Subject: Re: Escapng problem References: <wayne03@example.net> In-Reply-To: <wayne03@example.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes, #set( $d = '$' ) arg1value="${d}{var:maxlength}" works ok. Thanks wayne03@example.net napisał(a): >The formal reference notation ${foo} is hopefully a good >workaround to make it work: > >#set( $d = '$' ) >arg1value="${d}{var:maxlength}" > >It seems to me you found two related bugs in the parser. >a) Trying to parse something that is not a real reference (starting > with "${" and contining a ":") and throwing a PEE. >b) Interpreting a "{" in the middle of a reference as part of it. > >Could you/someone confirm these are really bugs - testing against >other similar expressions, creating a test-case, and then add a >JIRA issue. > >Cheers, >Christoph > >Tomek Ma&#263;kowski wrote: > > >>Thanks for response >> >>I tried : >> >>#set( $d = '$' ) >>arg1value="$d{var:maxlength}" >> >>but result is still >> >>[java] org.apache.velocity.exception.ParseErrorException: >>Encountered ":maxlength}\"\r\n" at line 25, column 49. >> [java] Was expecting one of: >> [java] "}" ... >> [java] <DOT> ... >> >> >> >>Nathan Bubna napisa&#322;(a): >> >> >> >>>#set( $d = '$' ) >>>arg1value="$d{var:maxlength}" >>> >>>or if you have the EscapeTool in the context (from VelocityTools) >>> >>>arg1value="$esc.d{var:maxlength}" >>> >>>\$foo is for escaping _references_ not for escaping the $ character. >>>velocity was still trying to parse it as a reference. >>> >>>On 12/5/05, Tomek Ma&#263;kowski <wayne03@example.net> wrote: >>> >>> >>> >>> >>>>Hi >>>> >>>>I have a problem with escaping '$' character in Velocity >>>> >>>>I want to produce literal: >>>>arg1value="${var:maxlength}" >>>> >>>>When i type it in my template "as is" I recive an exception: >>>> >>>> [java] org.apache.velocity.exception.ParseErrorException: >>>>Encountered ":maxlength}\"\r\n" at line 25, column 49. >>>> [java] Was expecting one of: >>>> [java] "}" ... >>>> [java] <DOT> ... >>>> >>>> >>>>When I type >>>> >>>>arg1value="\${var:maxlength}" >>>> >>>>result is the same. >>>> >>>>--------------------------------------------------------------------- >>>>To unsubscribe, e-mail: wayne03@example.net >>>>For additional commands, e-mail: wayne03@example.net >>>> >>>> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: wayne03@example.net >For additional commands, e-mail: wayne03@example.net > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Sun Dec 11 19:02:16 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 30591 invoked from network); 11 Dec 2005 19:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Dec 2005 19:02:15 -0000 Received: (qmail 77710 invoked by uid 500); 11 Dec 2005 19:02:12 -0000 Delivered-To: wayne03@example.net Received: (qmail 77680 invoked by uid 500); 11 Dec 2005 19:02:12 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 77662 invoked by uid 99); 11 Dec 2005 19:02:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2005 11:02:11 -0800 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2005 11:02:11 -0800 Received: by zproxy.gmail.com with SMTP id f1so1213904nzc for <wayne03@example.net>; Sun, 11 Dec 2005 11:01:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=eMlhBUmY8oyvjNmoNyCnq3KyPq/C5fW9KKsmGcRDW0e+kWUYwqr8d2J3hRow8I9NHRRQJBIicEoxbFs6ppGr24GZAOPmjU8OBJDiE6r0zRA8S6sE+1UBOsrcX19JloWLWlF9AwbSvlzd6BpcrEKpojS4Cgm0CusNbyU3AwI3HKQ= Received: by 83.161.120.155 with SMTP id u58mr5309839nzg; Sun, 11 Dec 2005 11:01:50 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 11 Dec 2005 11:01:50 -0800 (PST) Message-ID: <wayne03@example.net> Date: Sun, 11 Dec 2005 20:01:50 +0100 From: Angelo zerr <wayne03@example.net> To: wayne03@example.net Subject: RTFTEmplate project MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9128_29822523.1134327710417" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_9128_29822523.1134327710417 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I mail you to announce that RTFTemplate project is created on sourceforge. RTFTemplate is RTF engine which use Velocity for generate RTF. With RTFTemplate, you can design RTF model by using MERGEFIELD and merge RTF model with data (Java object) b= y using Velocity. You can find RTFTemplate Web Site at http://rtftemplate.sourceforge.net/ and download JAR at http://sourceforge.net/projects/rtftemplate. Web Site is not finished, but I think there are enough information to understand RTFTemplate process. I hope that you will be interested by RTFtemplate project. See you later. Angelo ZERR ------=_Part_9128_29822523.1134327710417-- From velocity-user-returnwayne03@example.net Sun Dec 11 19:09:57 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 33314 invoked from network); 11 Dec 2005 19:09:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Dec 2005 19:09:57 -0000 Received: (qmail 89355 invoked by uid 500); 11 Dec 2005 19:09:55 -0000 Delivered-To: wayne03@example.net Received: (qmail 89238 invoked by uid 500); 11 Dec 2005 19:09:55 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 89227 invoked by uid 99); 11 Dec 2005 19:09:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2005 11:09:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO forio.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2005 11:09:54 -0800 Received: (qmail 11760 invoked from network); 11 Dec 2005 19:09:32 -0000 Received: from adsl-70-132-7-23.dsl.snfc21.sbcglobal.net (HELO Apollo) (83.161.120.155) by broadcast.forio.com with RC4-MD5 encrypted SMTP; 11 Dec 2005 19:09:32 -0000 Message-ID: <001601c5fe86$68f5a910$1800a8c0@Apollo> From: "Will Glass-Husain" <wayne03@example.net> To: "Velocity Users List" <wayne03@example.net> References: <wayne03@example.net> Subject: Re: RTFTEmplate project Date: Sun, 11 Dec 2005 11:08:53 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Angelo, Thanks for sharing this! Looks like a useful effort. I do a lot of integration with Microsoft Excel; I can see how others might want similar with Word. Two suggestions 1- Please feel free edit the PoweredByVelocity page to include a link to your project http://wiki.apache.org/jakarta-velocity/PoweredByVelocity 2 - You might also inform the users of the POI project about your effort. POI focuses mainly on Excel but there is also a subproject addressing Java compatibility with Microsoft Word. They take a different approach (binary file read/write) but the same users might be interested in your approach. http://jakarta.apache.org/poi/ Good luck! WILL ----- Original Message ----- From: "Angelo zerr" <wayne03@example.net> To: <wayne03@example.net> Sent: Sunday, December 11, 2005 11:01 AM Subject: RTFTEmplate project Hello, I mail you to announce that RTFTemplate project is created on sourceforge. RTFTemplate is RTF engine which use Velocity for generate RTF. With RTFTemplate, you can design RTF model by using MERGEFIELD and merge RTF model with data (Java object) by using Velocity. You can find RTFTemplate Web Site at http://rtftemplate.sourceforge.net/ and download JAR at http://sourceforge.net/projects/rtftemplate. Web Site is not finished, but I think there are enough information to understand RTFTemplate process. I hope that you will be interested by RTFtemplate project. See you later. Angelo ZERR --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Mon Dec 12 22:37:40 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 65461 invoked from network); 12 Dec 2005 22:37:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Dec 2005 22:37:39 -0000 Received: (qmail 81817 invoked by uid 500); 12 Dec 2005 22:37:36 -0000 Delivered-To: wayne03@example.net Received: (qmail 81773 invoked by uid 500); 12 Dec 2005 22:37:35 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 81752 invoked by uid 99); 12 Dec 2005 22:37:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 14:37:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 14:37:34 -0800 Received: by xproxy.gmail.com with SMTP id i27so1124854wxd for <wayne03@example.net>; Mon, 12 Dec 2005 14:37:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WN9cyWwnnluSHTht83E50tNV4sT/txpOH/MQBNtUULdVkDDsMt7j6XIJvF9pOyG00PbgYQMV6LzhjDY2n43iF5nGGNfb5yrFuFNbjmk+ZZD2rl0hATUYMUNCdWYr4j3VLgmwXJEPmNLEinfAYamvMN3Shs0q/4u7Lc6sfJY1fsI= Received: by 83.161.120.155 with SMTP id t17mr9955801wxt; Mon, 12 Dec 2005 14:37:13 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 12 Dec 2005 14:37:12 -0800 (PST) Message-ID: <wayne03@example.net> Date: Mon, 12 Dec 2005 14:37:12 -0800 From: john oh <wayne03@example.net> To: wayne03@example.net Subject: problem accessing extended methods from template MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I have a class (B) that extends another (A) like so =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D class A{ protected String str =3D "A"; public String doA() return this.str; } class B extends A{ } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In my template, I use the inherited method doA(), but this does not work. It doesn't print "A" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D template.tpl $b.doA() =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I'm probably doing something wrong here. Can anyone see a problem with this= ? Thank you, John --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Mon Dec 12 22:40:42 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 67779 invoked from network); 12 Dec 2005 22:40:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Dec 2005 22:40:42 -0000 Received: (qmail 84957 invoked by uid 500); 12 Dec 2005 22:40:39 -0000 Delivered-To: wayne03@example.net Received: (qmail 84941 invoked by uid 500); 12 Dec 2005 22:40:39 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 84928 invoked by uid 99); 12 Dec 2005 22:40:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 14:40:39 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO smtp1.utdallas.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 14:40:37 -0800 Received: from organa.utdallas.edu (organa.utdallas.edu [83.161.120.155]) by smtp1.utdallas.edu (Postfix) with ESMTP id CE622389344 for <wayne03@example.net>; Mon, 12 Dec 2005 16:40:16 -0600 (CST) Received: by organa.utdallas.edu (Postfix, from userid 1662) id 9675F6F97B; Mon, 12 Dec 2005 16:40:16 -0600 (CST) Received: from localhost (localhost [83.161.120.155]) by organa.utdallas.edu (Postfix) with ESMTP id 888A17A586 for <wayne03@example.net>; Mon, 12 Dec 2005 16:40:16 -0600 (CST) Date: Mon, 12 Dec 2005 16:40:16 -0600 (CST) From: Barbara Baughman <wayne03@example.net> To: Velocity Users List <wayne03@example.net> Subject: Re: problem accessing extended methods from template In-Reply-To: <wayne03@example.net> Message-ID: <wayne03@example.net> References: <wayne03@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Class B needs to be public public class B extends A { Class A needs to be public public Class A { Barbara Baughman X2157 On Mon, 12 Dec 2005, john oh wrote: > Hello, > > I have a class (B) that extends another (A) like so > =============================================== > class A{ > protected String str = "A"; > public String doA() > return this.str; > } > > class B extends A{ > } > =============================================== > > In my template, I use the inherited method doA(), but this does not > work. It doesn't print "A" > =============================================== > template.tpl > $b.doA() > =============================================== > > > I'm probably doing something wrong here. Can anyone see a problem with this? > > > > Thank you, > John > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wayne03@example.net > For additional commands, e-mail: wayne03@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Mon Dec 12 22:50:26 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 73511 invoked from network); 12 Dec 2005 22:50:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Dec 2005 22:50:25 -0000 Received: (qmail 98908 invoked by uid 500); 12 Dec 2005 22:50:22 -0000 Delivered-To: wayne03@example.net Received: (qmail 98888 invoked by uid 500); 12 Dec 2005 22:50:22 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 98877 invoked by uid 99); 12 Dec 2005 22:50:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 14:50:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 14:50:21 -0800 Received: by xproxy.gmail.com with SMTP id t10so1268461wxc for <wayne03@example.net>; Mon, 12 Dec 2005 14:50:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q+NdTFC7DmhBzAL785cm6547UE5eCPnKoXt+VV4kXcf+eBQji/4/z3D4co0vISP+ThVoWHBAiUYm448p6k9lscdoJzGzWmE9diah/jZsFm+m1r75Um37HaFsGUTJmaPyNzyWhdF2U0Ysp18LGDrCchXZOKMMozv3SJj8bBWxiVw= Received: by 83.161.120.155 with SMTP id l18mr9952157wxb; Mon, 12 Dec 2005 14:50:01 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 12 Dec 2005 14:50:01 -0800 (PST) Message-ID: <wayne03@example.net> Date: Mon, 12 Dec 2005 14:50:01 -0800 From: john oh <wayne03@example.net> To: Velocity Users List <wayne03@example.net> Subject: Re: problem accessing extended methods from template In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <wayne03@example.net> <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Barbara! You're suggestion helped. On 12/12/05, Barbara Baughman <wayne03@example.net> wrote: > Class B needs to be public > > public class B extends A { > > Class A needs to be public > > public Class A { > > Barbara Baughman > X2157 > > On Mon, 12 Dec 2005, john oh wrote: > > > Hello, > > > > I have a class (B) that extends another (A) like so > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > class A{ > > protected String str =3D "A"; > > public String doA() > > return this.str; > > } > > > > class B extends A{ > > } > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > In my template, I use the inherited method doA(), but this does not > > work. It doesn't print "A" > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > template.tpl > > $b.doA() > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > I'm probably doing something wrong here. Can anyone see a problem with = this? > > > > > > > > Thank you, > > John > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: wayne03@example.net > > For additional commands, e-mail: wayne03@example.net > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wayne03@example.net > For additional commands, e-mail: wayne03@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Thu Dec 15 00:38:50 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 58614 invoked from network); 15 Dec 2005 00:38:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 00:38:50 -0000 Received: (qmail 91207 invoked by uid 500); 15 Dec 2005 00:38:47 -0000 Delivered-To: wayne03@example.net Received: (qmail 91182 invoked by uid 500); 15 Dec 2005 00:38:46 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 91171 invoked by uid 99); 15 Dec 2005 00:38:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 16:38:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO delight.idiom.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 16:38:45 -0800 Received: from idiom.com (idiom.com [83.161.120.155]) by delight.idiom.com (Postfix) with ESMTP id 0C42022A788 for <wayne03@example.net>; Wed, 14 Dec 2005 16:38:24 -0800 (PST) Received: from [83.161.120.155] ([83.161.120.155]) by idiom.com (8.12.11/8.12.11) with ESMTP id jBF0cNiu079324 for <wayne03@example.net>; Wed, 14 Dec 2005 16:38:23 -0800 (PST) (envelope-from wayne03@example.net) Message-ID: <wayne03@example.net> Date: Wed, 14 Dec 2005 16:38:09 -0800 From: Bryce Nesbitt <wayne03@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 X-Accept-Language: en-us, en MIME-Version: 1.0 To: wayne03@example.net Subject: How to output a tab from a velocity template? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm using a velocity/xwork/WebWork template to write a text file, which needs to have tabs between each record: $res.setHeader("content-type", "text/plain")#* *#$res.setHeader("Content-Disposition", "attachment; filename=xxxxx.tsv") #foreach( $step in $result ) RECORD&tab;$!step.PrimaryContact.firstName&tab;$!step.PrimaryContact.lastName #end How can I get tabs or other special characters out of Velocity? \t does not work. &tab; and &#09; won't work, because the target is not a HTML browser. Putting actual tabs in the text file might work, but that's icky. --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Thu Dec 15 01:22:27 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 73732 invoked from network); 15 Dec 2005 01:22:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 01:22:27 -0000 Received: (qmail 41448 invoked by uid 500); 15 Dec 2005 01:22:24 -0000 Delivered-To: wayne03@example.net Received: (qmail 41432 invoked by uid 500); 15 Dec 2005 01:22:23 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 41421 invoked by uid 99); 15 Dec 2005 01:22:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 17:22:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO forio.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 17:22:22 -0800 Received: (qmail 27346 invoked from network); 15 Dec 2005 01:21:59 -0000 Received: from unknown (HELO Apollo) (83.161.120.155) by broadcast.forio.com with RC4-MD5 encrypted SMTP; 15 Dec 2005 01:21:59 -0000 Message-ID: <000601c60115$f1421a60$ffe910ac@Apollo> From: "Will Glass-Husain" <wayne03@example.net> To: "Velocity Users List" <wayne03@example.net> References: <wayne03@example.net> Subject: Re: How to output a tab from a velocity template? Date: Wed, 14 Dec 2005 17:20:25 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Define an reference $tab in the context? context.put("tab","\t"); WILL ----- Original Message ----- From: "Bryce Nesbitt" <wayne03@example.net> To: <wayne03@example.net> Sent: Wednesday, December 14, 2005 4:38 PM Subject: How to output a tab from a velocity template? > I'm using a velocity/xwork/WebWork template to write a text file, which > needs to have tabs between each record: > > $res.setHeader("content-type", "text/plain")#* > *#$res.setHeader("Content-Disposition", "attachment; filename=xxxxx.tsv") > #foreach( $step in $result ) > RECORD&tab;$!step.PrimaryContact.firstName&tab;$!step.PrimaryContact.lastName > #end > > How can I get tabs or other special characters out of Velocity? \t does > not work. &tab; and &#09; won't work, because the target is not a HTML > browser. > > Putting actual tabs in the text file might work, but that's icky. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wayne03@example.net > For additional commands, e-mail: wayne03@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Thu Dec 15 01:23:06 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 73871 invoked from network); 15 Dec 2005 01:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 01:23:06 -0000 Received: (qmail 42190 invoked by uid 500); 15 Dec 2005 01:23:03 -0000 Delivered-To: wayne03@example.net Received: (qmail 42166 invoked by uid 500); 15 Dec 2005 01:23:02 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 42155 invoked by uid 99); 15 Dec 2005 01:23:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 17:23:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 17:23:02 -0800 Received: by wproxy.gmail.com with SMTP id 68so490690wra for <wayne03@example.net>; Wed, 14 Dec 2005 17:22:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LXmKc5gQDEGPHItZ6nECMmNBnoMKH9g/19Ez8PSkh8/v6hxuWm+oQsDoO0Mtmx9ALemN8k0hf2pengdCcGapdXbYjADPTmUgFa88+Ax5wU+YltsHS2OuN5xcBmsvLc6qut7/PN1ZfGTkcHR+W6RToRjBHkL5nlXFtNWhCJZYaDU= Received: by 83.161.120.155 with SMTP id z11mr801877qbk; Wed, 14 Dec 2005 17:22:41 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 14 Dec 2005 17:22:41 -0800 (PST) Message-ID: <wayne03@example.net> Date: Wed, 14 Dec 2005 17:22:41 -0800 From: Nathan Bubna <wayne03@example.net> To: Velocity Users List <wayne03@example.net> Subject: Re: How to output a tab from a velocity template? In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/14/05, Bryce Nesbitt <wayne03@example.net> wrote: > I'm using a velocity/xwork/WebWork template to write a text file, which > needs to have tabs between each record: > > $res.setHeader("content-type", "text/plain")#* > *#$res.setHeader("Content-Disposition", "attachment; filename=3Dxxxxx.tsv= ") > #foreach( $step in $result ) > RECORD&tab;$!step.PrimaryContact.firstName&tab;$!step.PrimaryContact.last= Name > #end > > How can I get tabs or other special characters out of Velocity? \t does > not work. &tab; and &#09; won't work, because the target is not a HTML > browser. > > Putting actual tabs in the text file might work, but that's icky. if actual tabs aren't icky in the output, then i don't see why they're icky in the input. Velocity doesn't do anything special for or with tab characters. if you want a tab character in the output, the simplest thing is to put it in the input. but if you really don't like that, you can always put a string containing just a tab in the context: context.put("tab", "\t"); and then use ${tab} in your template. > --------------------------------------------------------------------- > To unsubscribe, e-mail: wayne03@example.net > For additional commands, e-mail: wayne03@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Thu Dec 15 02:09:29 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 91831 invoked from network); 15 Dec 2005 02:09:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 02:09:29 -0000 Received: (qmail 99363 invoked by uid 500); 15 Dec 2005 02:09:18 -0000 Delivered-To: wayne03@example.net Received: (qmail 99343 invoked by uid 500); 15 Dec 2005 02:09:18 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 99332 invoked by uid 99); 15 Dec 2005 02:09:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 18:09:18 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO delight.idiom.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 18:09:16 -0800 Received: from idiom.com (idiom.com [83.161.120.155]) by delight.idiom.com (Postfix) with ESMTP id E5677228787 for <wayne03@example.net>; Wed, 14 Dec 2005 18:08:54 -0800 (PST) Received: from [83.161.120.155] ([83.161.120.155]) by idiom.com (8.12.11/8.12.11) with ESMTP id jBF28srp012754 for <wayne03@example.net>; Wed, 14 Dec 2005 18:08:54 -0800 (PST) (envelope-from wayne03@example.net) Message-ID: <wayne03@example.net> Date: Wed, 14 Dec 2005 18:08:39 -0800 From: Bryce Nesbitt <wayne03@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Velocity Users List <wayne03@example.net> Subject: Re: How to output a tab from a velocity template? References: <wayne03@example.net> <wayne03@example.net> In-Reply-To: <wayne03@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nathan Bubna wrote: > if actual tabs aren't icky in the output, then i don't see why they're > icky in the input. Velocity doesn't do anything special for or with > tab characters. Because the source code is in a multiplatform multideveloper environment that does not preserve (or allow, or tolerate) tabs. The export is in user-land. > if you want a tab character in the output, the > simplest thing is to put it in the input. but if you really don't > like that, you can always put a string containing just a tab in the > context: > > context.put("tab", "\t"); > > and then use > > ${tab} in your template. > > Cool, could you give me one more hint on where to find the right context? I did this, without joy: // Action.java ...extends ActionSupport... public String execute() throws Exception { ActionContext.getContext().put("tab","\t"); return "tabexport"; } <!-- something.vm --> $res.setHeader("content-type", "text/plain") $res.setHeader("Content-Disposition", "attachment; filename=cust_-xxxxxx.txt")TFLD4 TEST$tab${tab}TEST TEST$tab${tab}TEST --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Thu Dec 15 03:26:10 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 20132 invoked from network); 15 Dec 2005 03:26:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 03:26:10 -0000 Received: (qmail 65749 invoked by uid 500); 15 Dec 2005 03:26:06 -0000 Delivered-To: wayne03@example.net Received: (qmail 65731 invoked by uid 500); 15 Dec 2005 03:26:06 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 65720 invoked by uid 99); 15 Dec 2005 03:26:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 19:26:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 19:26:04 -0800 Received: by wproxy.gmail.com with SMTP id i11so537380wra for <wayne03@example.net>; Wed, 14 Dec 2005 19:25:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RDNDrhWSFdfedeeNFL1Hs5uRe+W266YIKGAcNuvs2CxlKTawCXxpXrquD2GWkLIe9c1pi4F4sNdFNvSL92lEl8j30Vmi6VSMYtDmYQYelxL45ZTkh1OiVY8cUwZSCwSSqgYOuZ3wXad5wt8tsi7UWN4Ot1YG8OjVro43R98uh3E= Received: by 83.161.120.155 with SMTP id e18mr888788qbh; Wed, 14 Dec 2005 19:25:43 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 14 Dec 2005 19:25:43 -0800 (PST) Message-ID: <wayne03@example.net> Date: Wed, 14 Dec 2005 19:25:43 -0800 From: Nathan Bubna <wayne03@example.net> To: Velocity Users List <wayne03@example.net> Subject: Re: How to output a tab from a velocity template? In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <wayne03@example.net> <wayne03@example.net> <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/14/05, Bryce Nesbitt <wayne03@example.net> wrote: > Nathan Bubna wrote: > > if actual tabs aren't icky in the output, then i don't see why they'= re > > icky in the input. Velocity doesn't do anything special for or with > > tab characters. > Because the source code is in a multiplatform multideveloper environment > that does not preserve (or allow, > or tolerate) tabs. > The export is in user-land. ah, that makes sense. > > if you want a tab character in the output, the > > simplest thing is to put it in the input. but if you really don't > > like that, you can always put a string containing just a tab in the > > context: > > > > context.put("tab", "\t"); > > > > and then use > > > > ${tab} in your template. > > > > > Cool, could you give me one more hint on where to find the right > context? I did this, without joy: looks like some sort of WebWork context. you want to get it into the Velocity context. i don't know much about WebWork's Velocity integration... > // Action.java > ...extends ActionSupport... > > public String execute() throws Exception { > ActionContext.getContext().put("tab","\t"); > return "tabexport"; > } > > > <!-- something.vm --> > $res.setHeader("content-type", "text/plain") > $res.setHeader("Content-Disposition", "attachment; > filename=3Dcust_-xxxxxx.txt")TFLD4 > TEST$tab${tab}TEST > TEST$tab${tab}TEST if the response is available as $res, perhaps the request is available as $req (old VelocityServlet style). if so, then at worst you could do: request.setAttribute("tab", "\t") and #set( $tab =3D $req.getAttribute('tab') ) TEST${tab}${tab}TEST > --------------------------------------------------------------------- > To unsubscribe, e-mail: wayne03@example.net > For additional commands, e-mail: wayne03@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: wayne03@example.net For additional commands, e-mail: wayne03@example.net From velocity-user-returnwayne03@example.net Thu Dec 15 15:41:52 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 47600 invoked from network); 15 Dec 2005 15:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 15:41:40 -0000 Received: (qmail 47548 invoked by uid 500); 15 Dec 2005 15:41:27 -0000 Delivered-To: wayne03@example.net Received: (qmail 47524 invoked by uid 500); 15 Dec 2005 15:41:26 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 47513 invoked by uid 99); 15 Dec 2005 15:41:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 07:41:26 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO web60122.mail.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Dec 2005 07:41:25 -0800 Received: (qmail 21127 invoked by uid 60001); 15 Dec 2005 15:41:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sltC+1QC9Y/v6iuCATVfid3fe1/pqghIxj3cXpBu2wSoUwqo0qcBqRiy4IQbWmQkp0gaW/ozCWwywcthBsvJzNsAkVHnTNUfv2vWbjEhXvx3t+3sHrWWGs2FMHkIkP5zbHMWXsNtwcBB/I5nqFSoXAPGw6if1B0OPFKDF/AQzVw= ; Message-ID: <wayne03@example.net> Received: from [83.161.120.155] by web60122.mail.yahoo.com via HTTP; Thu, 15 Dec 2005 07:41:04 PST Date: Thu, 15 Dec 2005 07:41:04 -0800 (PST) From: Rakesh Reddy <wayne03@example.net> Subject: How to Internationalize the text in a velocity template? To: Velocity Users List <wayne03@example.net> In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1632904744-1134661264=:20842" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1632904744-1134661264=:20842 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Group -- I am new to use the velociity framework. How do we Internationalize the textx in a velocity template ? For example, if I have the following template. ############################### The following students must be required to attend the Gelogy Class: #foreach ($name in $list) $name should attend Geology end ############################### Now in the above example how do I make the text "The following students must be required to attend the Gelogy Class:" a label. label.student.instruction=The following students must be required to attend the Gelogy Class: How I do use this label in the velocity template ? To do this do we need to do any special processing in the velocity template processor. Thanks Rakesh --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-1632904744-1134661264=:20842-- From velocity-user-returnwayne03@example.net Thu Dec 15 16:54:39 2005 Return-Path: <velocity-user-returnwayne03@example.net> Delivered-To: wayne03@example.net Received: (qmail 89001 invoked from network); 15 Dec 2005 16:54:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 16:54:38 -0000 Received: (qmail 94989 invoked by uid 500); 15 Dec 2005 16:54:34 -0000 Delivered-To: wayne03@example.net Received: (qmail 94971 invoked by uid 500); 15 Dec 2005 16:54:34 -0000 Mailing-List: contact wayne03@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:wayne03@example.net> List-Help: <mailto:wayne03@example.net> List-Post: <mailto:wayne03@example.net> List-Id: "Velocity Users List" <velocity-user.jakarta.apache.org> Reply-To: "Velocity Users List" <wayne03@example.net> Delivered-To: mailing list wayne03@example.net Received: (qmail 94960 invoked by uid 99); 15 Dec 2005 16:54:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 08:54:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of wayne03@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 08:54:33 -0800 Received: by zproxy.gmail.com with SMTP id f1so439015nzc for <wayne03@example.net>; Thu, 15 Dec 2005 08:54:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MeWj7EnVzpROwDuwJ+k+NWUD9491lVdFSgnsIrfntym7sZ12pQga53JsbjdvQicJKqcD/Ztt+y+j67fvU/NLWlPJHy4E35RDrA/SetGqAFArzlfMP8wCBdu5f/wT7WLowPWAfpnUvtAkEALMo8FAcrJSxiKf3hxC0rQaH3xRnXo= Received: by 83.161.120.155 with SMTP id t16mr1135249qbm; Thu, 15 Dec 2005 08:54:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 15 Dec 2005 08:54:11 -0800 (PST) Message-ID: <wayne03@example.net> Date: Fri, 16 Dec 2005 00:54:11 +0800 From: Carfield Yim <wayne03@example.net> Sender: wayne03@example.net To: Velocity Users List <wayne03@example.net> Subject: Re: How to Internationalize the text in a velocity template? In-Reply-To: <wayne03@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <wayne03@example.net> <wayne03@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N For me, just simple press the resourcebundle as the parameter On 12/15/05, Rakesh Reddy <wayne03@example.net> wrote: > Hi Group -- > > I am new to use the velociity framework. How do we Internationalize t= he textx in a velocity template ? > > For example, if I have the following template. > > ############################### > The following students must be required to attend the Gelogy Class: > #foreach ($name
{'source': 'Apache Software Foundation Public Mail Archives'}