Hi all,
I tried to use system.include() to include common js functions but it doesn't seem to work. Neither using relative/absolute paths to the fs nor urls is working. I tried:
system.include("prototype.js"); => prototype.js sits in .resource
system.include("C:\path\to\servicename.resource\prototype.js");
system.include("http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js");
Nothing worked.
What's the right way to include common functions?
Greetings, Jens
Hi Jens, This works fine.
Hi Jens,
This works fine. Have a look at digit2image or any sample using js stubs (found in wso2mashup-2.0.0/repository/scripts) they use system.include
Does digit2image work on your installation?
Tyrell
You are right.
Hi Tyrell,
now it's working. My fault! :-)
Greetings, Jens