OpenWGA 7.11 - TMLScript reference

TMLForm "tmlform"
Method :


On object TMLForm "tmlform"
Usage Returns a Java file object for an uploaded file
Description This method can be used to use uploaded form files with methods that need Java file objects (class as parameters, like WGA.createImageScaler() for instance.

The returned file is temporary and should not be modified in-place or deleted.
Parameters filename (String):
Name of the file
Return value A Java file object (Java- class
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions