OpenWGA 7.10 - WebTML reference

WebTML tags

<tml:link>

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.

Details:

<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.

Examples:

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

<tml:link/>

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

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