cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sparkes <pe...@didm.co.uk>
Subject Re: javascript -Java
Date Sat, 27 Sep 2014 21:49:24 GMT
Hi Jos

Thanks for the suggestion,  unfortunately it made  no difference

Peter

On 27/09/2014 07:23, Jos Snellings wrote:
> Hi Peter,
>
> Try in your javascript/flowscript:
> var imagescaled = Scalr.resize(imagein, size);
>
> without the "new" keyword. reason: You try to call a so-called "static" method.
>
> Hope that helps.
> Jos
>
> On Fri, Sep 26, 2014 at 10:30 PM, Peter Sparkes <peter@didm.co.uk <mailto:peter@didm.co.uk>>
wrote:
>
>     Hi,
>
>     Cocoon 2.1.12
>
>     Ref http://cocoon.apache.org/2.1/userdocs/flow/java.html
>
>     Please how do I associate
>
>     importClass(Packages.org.imgscalr.Scalr);
>
>     with its jar file "imgscalr-lib-4.2.jar"
>
>     which I put in
>
>     WEB-INF/lib
>
>     Regards
>
>     Peter
>
>
>
>
> -- 
> Confucius said way too much ...
>


Mime
View raw message