OpenWGA 7.6 - OpenWGA Concepts and Features

Design and development » WebTML » Features » Actions

Actions and WebTML forms

If an action link is generated in the content of a <tml:form> form (or is assigned to a form using the form attribute) then calling the action will also send the form data to the server when the action is called.

The form data is then available to the action code as TMLForm object "tmlform" for being processed on the server, for example to store the data in some document. It keeps being available on the WebTML request that follows the action processing (if the action does not redirect the browser).

As WebTML forms are not automatically saved on submit they need WebTML actions for their data to be actually processed. See Data binding and storage in the WebTML forms on how this works.