OpenWGA 7.6 - WebTML reference

WebTML tags » url

<tml:url file ="filename">

Purpose:

Defines the file for which the URL is generated

Description:

This attribute is valid on type="file" and type="tmlform" and denotes the name of the file to generate an URL to.

If the file is a ZIP archive it is also possible to reference files inside the archive directly. To achive this specify the name of thef zip file followed by a "/" and the path of the file within the archive.

Examples:

The following is an example of creating a URL to a file inside a ZIP archive, which is stored as a file attachment on the current context document. The archive file is "images.zip". The contained file is named "folder.png" and is inside a folder "16x16" inside the archive.

<tml:url type="file" file="images.zip/16x16/folder.png"/>