velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rickard Öberg <>
Subject Re: Can't call methods that take interface!?
Date Thu, 10 Oct 2002 16:11:12 GMT
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?


Rickard Öberg

Got blog? I do.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message