OpenWGA 7.10 - WebTML reference

WebTML tags » url

<tml:url type="action" >


Defines an url which calls an tml action.


The action can either be specified inline in the body of the url tag or referenced per attribute "action".


Example with inline action:

<a href="<tml:url type="action">profile.setitem("foo", 4711);</tml:url>">Save in profile</a>

The same action code referenced via action id:

<tml:action id="saveInProfile">
      profile.setitem("foo", 4711);

<a href="<tml:url type="action" action="saveInProfile"/>">Save in profile</a>