Ignore:
Timestamp:
Jul 15, 2011, 11:32:36 AM (13 years ago)
Author:
djay
Message:

Small fix for zcfg syntaxe hightlighting, small fixes some typos in JS doc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/api/examples.txt

    r204 r259  
    2121  }
    2222
    23 In this really short example you can see how to create ZOO.Process class instance and
     23In this really short example you can see how to create ``ZOO.Process`` class instance and
    2424call the Execute method on such an instance. Then you'll just need to return a JavaScript
    2525object containing the attributes result and outputs, which I'm sure you already know
    26 what is about. The first is about the status of the process (can be ZOO.SERVICE_SUCEEDED,
    27 ZOO.SERVICE_FAILED and so on), the last is obviously the resulting maps (take a
    28 look at the maps internal data structure used by ZOO Kernel in service.h).
     26what is about. The first is about the status of the process (can be ``ZOO.SERVICE_SUCEEDED``,
     27``ZOO.SERVICE_FAILED`` and so on), the last is obviously the resulting maps (take a
     28look at the maps internal data structure used by ZOO Kernel in ``service.h``).
    2929
    3030ZOO.UpdateStatus
     
    4848  }
    4949
    50 You can see in this sample code how to use the ZOOUpdateStatus function to update the
     50You can see in this sample code how to use the ``ZOOUpdateStatus`` function to update the
    5151current status of your running process. This information will be really helpfull when the
    52 ZOO Kernel will run your JavaScript Service in background mode (if the user set to true
    53 the storeExecuteResponse parameter in his request).
     52ZOO Kernel will run your JavaScript Service in background mode (if the user set to ``true``
     53the ``storeExecuteResponse`` parameter in his request).
    5454
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