cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Legg <david.l...@searchevent.co.uk>
Subject Re: problem with this line?
Date Mon, 23 Feb 2009 16:37:32 GMT
Hi Paul,

> In my flowscript, I get an error on this line and I don't know 
> why--the jar file with this package is on the classpath.
> var encoder = new 
> Packages.org.apache.cocoon.ojb.samples.bean.PasswordEncoder();

Remove the brackets '()' from the end of the line.  You want to create a 
new Object and not call a function.

Regards,
David Legg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message