OpenWGA 7.4 - WebTML reference
WebTML tags » url<tml:url type="action" >
Purpose:
Defines an url which calls an tml action.
Description:
The action can either be specified inline in the body of the url tag or referenced per attribute "action".
Examples:
Example with inline action:
The same action code referenced via action id:
<a href="<tml:url type="action">profile.setitem("foo", 4711); profile.save()</tml:url>">Save in profile</a>
The same action code referenced via action id:
<tml:action id="saveInProfile">
profile.setitem("foo", 4711);
profile.save()
</tml:action>
<a href="<tml:url type="action" action="saveInProfile"/>">Save in profile</a>