velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rickard Öberg <rick...@dreambean.com>
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

-- 
Rickard Öberg
rickard@dreambean.com
Senselogic

Got blog? I do. http://dreambean.com


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