A WebTML action is a process defined for an OpenWGA design.
The primary use of a WebTML action is to be called by the browser user from a WebTML page (although there are various other places where they are usable). They address the problem necessary on almost every website that some processes need to be triggered by the user from the browser client but executed on the server. WebTML actions here implement the necessary features to define those processes for the server side while offering them seamlessly on the client side via buttons, links etc.
For that task WebTML actions feature the following behaviours:
- Actions transmit their code call and parameters in an encrypted way. The user has now way to influence the calling information. It is also not possible to use the action calling information for another session than the one it was generated for.
- Action calls are optionally "debounced". Triggering the same action calling functionality multiple times will only execute the action one time. This address a common problem for websites when the browser back/forward/reload buttons accidentally call an already triggered action again.
- Actions optionally can be transmitted using AJAX technology, which means that their calling does not reload the complete webpage
Normal WebTML actions are TMLScript procedures that are executed on triggering the action.
There is also a set of default actions predefined for the OpenWGA platform.
Table of contents:
- Ways of defining actions
- Creating controls to call actions
- Actions and WebTML forms
- Master sessions and actions