velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Symbol escaped in a property
Date Tue, 06 Nov 2001 10:47:11 GMT
On 11/6/01 4:34 AM, "Vitaly Repetenko" <vit@mtu.ru> wrote:

> Good day!
> 
> I have a problem with escaping comma in a property.
> 
> Property example:
> datasource.resource.loader.templatestatement = select a from t1\, t2
> where t1.id = t2.t1_id
> 
> configuration.display() result is:
> templatestatement => [select a from t1, t2 where t1.id = t2.t1_id]

Yep, that's clearly getting turned into an array for some reason...

> 
> configuration.getString("timestampstatement") result is:
> select a from t1
> 
> Thanks in advance!
> Vitaly

I thought we had a problem like this about 6 months ago, and Leon submitted
a patch and was applied.  I assume this is a recent version of Velocity?

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
"He who throws mud only loses ground." - Fat Albert


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


Mime
View raw message