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:02:10 GMT
Claude Brisson wrote:
> Have you checked the method was public ?

       public String nameOf(User aUser)

and it works just fine if I try to call this method in the same class:

       public String nameOf2(String aString)

The only difference I can see is that the first takes an interface and 
the second a "real class".

Could it be the matching algo that is screwed up? How is the method 
looked up?

/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