Changes between Version 13 and Version 14 of ZooWebSite/ZOOAPI/Examples
- Timestamp:
- Nov 10, 2010, 6:39:37 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/ZOOAPI/Examples
v13 v14 17 17 }}} 18 18 19 In this really short example you can see how to create {{{ZOO.Process}}} class instance and call the {{{Execute}}} method on such an instance. Then you'll just need to return a JavaScript object containing the attributes {{{result}}} and {{{outputs}}}, which I'm sure you already know what is about. The first is about the status of the process (can be {{{ZOO.SERVICE_SUCEEDED}}},{{{ZOO.SERVICE_FAILED}}} ad so on), the last is obviously the resulting maps (take a look at the {{{maps}}} internal data structure used by ZOO Kernel in service.h).19 In this really short example you can see how to create {{{ZOO.Process}}} class instance and call the {{{Execute}}} method on such an instance. Then you'll just need to return a !JavaScript object containing the attributes {{{result}}} and {{{outputs}}}, which I'm sure you already know what is about. The first is about the status of the process (can be {{{ZOO.SERVICE_SUCEEDED}}},{{{ZOO.SERVICE_FAILED}}} ad so on), the last is obviously the resulting maps (take a look at the {{{maps}}} internal data structure used by ZOO Kernel in service.h). 20 20 21 21 == ZOO.!UpdateStatus ==