Child pages
  • Server Side Scripting

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Serverside code is build up the same as the clientside so you have $scope object with model and api ,api and (since 8.3) handler objects. On that api object you have to define then the api methods that you want to execute server side. An example is the default tabpanel. More info on the $scope.handler object see below.

What can also be done (servoy Servoy 8.0.2+) is that clientside scripting can call the server part. These function has to be defined on the $scope object, as an example:

...