OpenWGA 7.5 - 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/> creates the following HTML output: <a href="[url]">[document title]</a>
Within the body of the <tml:link> tag you can specifiy further HTML attributes like css classes or styles.
<tml:link/> is equivalent to:
<a href="<tml:url/>"><tml:meta name="title"/></a>
Examples:
Within the body of the <tml:link> tag you can specifiy further HTML attributes like css classes or styles.
<tml:link/> is equivalent to:
<a href="<tml:url/>"><tml:meta name="title"/></a>
The following creates a simple link to the current context document with its title.
<tml:link/>
The following creates the same link, but sets the CSS class "selected" on the <a> tag:
<tml:link>class="selected"</tml:link>