Ignore:
Timestamp:
Oct 24, 2011, 3:42:33 PM (13 years ago)
Author:
lucadelu
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/hello-js/cgi-env/hello.js

    r83 r343  
    11
    22function hellojs(conf,inputs,outputs){
    3         outputs[0]["result"]["value"]="Hello "+inputs[0]["S"]["value"]+" from the JS World !";
     3        outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";
    44        //SERVICE_SUCEEDED
    55        return Array(3,outputs);
     
    77
    88function hellojs1(conf,inputs,outputs){
    9         outputs[0]["result"]["value"]="Hello "+inputs[0]["S"]["value"]+" from the JS World !";
     9        outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";
    1010        //SERVICE_SUCEEDED
    1111        return {"result":3,"outputs": outputs};
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

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