velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Romianowski" <megap...@gmx.de>
Subject RE: String to Int
Date Tue, 10 Dec 2002 12:31:37 GMT
> On Tuesday, December 10, 2002, at 06:36 AM, Peter Romianowski wrote:
> 
> > You cannot call static Methods from VTL. Rewrite your class to:
> 
> That's not true, depending on what you mean.  If you place an 
> instance 
> of the class in the context, you certainly can call static methods :

  Of course! I meant that you have to have an instance of the class
(and you cannot call static methods directly). Sorry for not beeing
precise enough (was in a hurry).

Peter


--
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