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: Can't call methods that take interface!?
Date Thu, 10 Oct 2002 20:58:08 GMT
On 10/10/02 12:11 PM, "Rickard Öberg" <rickard@dreambean.com> wrote:

> Bill Kaufman wrote:
>> You can also check that the argument is correct (non-null, of the right
>> type).  The easiest way is to add a line like,
>> 
>> $thread.creator.class
>> 
>> to your VTL just before the method call.
> 
> Done that. The argument is the right one.
> 
>> (There may also be class loader issues, but let's not get into that just
>> yet,...)
> 
> Hm.. shouldn't be the case. But possible I guess.
> 
> I'm suspecting the method matching algo. Are there any quirks in there
> with regard to how interfaces are dealt with?
> 

What version are you using?

-- 
Geir Magnusson Jr. 
geirm@adeptra.com                                    +1-203-355-2219 (w)
Adeptra Inc.                                         +1-203-247-1713 (m)



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