Definition of Whitebeam XML Tags
Execute server-side JavaScrip
Optionally read the script to execute from another file. This attribute specified the filename containing
the source code to execute assuming it is not in the body of this tag.
Only execute the referenced script file if it has not already been the subject of
a previous <script...> tag.
Optional and only valid if the src attribute is specified, otherwise it is ignored. Has the value
file will have been provided by Whitebeam. These files are located in a reserved area of the Whitebeam system.
By default, if the presentation engine cannot locate a named file then it throws an error and page
execution stops. If you set this attribute to 'ignore' then the error is ignored and execution
continues. This is useful in the case where an optional configuration script is not required
in a particular instance of a web application.
The language syntax is conformant to ECMAScript standard as defined in ECMA-262
Object Model (ROM) that comprises the set of objects, data types and methods
defined by the various Whitebeam Templates.
The script to be implemented is most commonly contained in the body of the
tag but may be in a separate file reference with the src attribute. The latter
the contents of the file are not parsed by the XML system - instead being passed
Whitebeam provide a number of 'utility' and 'extension' facilities that are enabled through the
inclusion of special Whitebeam 'system' include files. These are documented separately when available.
To use these facilities you specify the pathname provided to you by Whitebeam along with a 'system=yes'
attribute to the tag.
(loadtime : 22ms)