source: trunk/zoo-project/zoo-services/hello-js/cgi-env/hello.js @ 371

Last change on this file since 371 was 343, checked in by lucadelu, 13 years ago

change documentation and example of Javascript code because they did not work

File size: 357 bytes
Line 
1
2function hellojs(conf,inputs,outputs){
3        outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";
4        //SERVICE_SUCEEDED
5        return Array(3,outputs);
6}
7
8function hellojs1(conf,inputs,outputs){
9        outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";
10        //SERVICE_SUCEEDED
11        return {"result":3,"outputs": outputs};
12}
13
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png