OpenWGA 7.10 - WebTML reference

WebTML tags


Description :
Renders a HTML link for the current document in context.
Derived from: Attributes:
show inherited attributes ...
Name Value(s) Purpose
html_attribute html-value Defines a custom HTML attribute that will be added to the generated HTML tag <a>
layout tml-module Defines the TML module which is used to render the document when the link is activated.
medium media-key The document will be rendered in the default layout or the layout specified by "layout" of the given media key.


<tml:link>...</tml:link> creates the following HTML output: <a href="[url]">[tag-body || document title]</a>

The body of the link is either the body of the tml tag or the title of the current document.


The following creates a simple link to the current context document with its title.


The following creates the same link, but renders an image as link-body

  <tml:image file="logo.png"/>