On Mar 10, 8:24 pm, Kevin Downey wrote:
> I don't know how many arguments the method you are overriding with
> onLogin takes, but the function you define should take one more
> argument then the method you are overiding, the first argument being
> an explicit reference to an instance
That was it
I don't know how many arguments the method you are overriding with
onLogin takes, but the function you define should take one more
argument then the method you are overiding, the first argument being
an explicit reference to an instance
On Tue, Mar 10, 2009 at 12:16 PM, rb wrote:
>
> HI Chris,
>
HI Chris,
thanks for your response, and I'll update the code as you suggest.
However, I actually have problems even when the -onLogin function is
empty, returns nil, or returns FtpletResult/DEFAULT. It seems it
causes trouble once it's defined.
I'll post an update tomorrow
Raphaël
On Mar 10, 6
I can see one possible difference, depending on how you are loading
the code into the ftp server.
In your clojure example you are accessing the logger through a top-
level define. I believe this will run *during the file loading
process* as static code.
In your working java example, you aren't