OpenWGA 7.5 - WebTML reference
WebTML tags » include<tml:include linkaction ="action-id">
Purpose:
Redirects all links and URLs in the portlet to a WebTML action
Description:
This effects all dynamically generated URLs by <tml:url>. The action is called instead of the URL. It
receives all information about the linked document, so it can be used
to redirect to the document in a user defined manner. These informations come as action params:
this.tmlparam1: Type of Link. "content" for a link to a content document, "layout" for a layout only link
this.tmlparam2: Media key.
this.tmlparam3: Layout key.
this.tmlparam4: Complete URL, that would get called in a normal link
Additionally the action is executed in the context of the linked content document.
This attribut is helpful when embedding portlets that contain links which would leave the portal page. Instead the action called can take care of changing the portlets context.
this.tmlparam1: Type of Link. "content" for a link to a content document, "layout" for a layout only link
this.tmlparam2: Media key.
this.tmlparam3: Layout key.
this.tmlparam4: Complete URL, that would get called in a normal link
Additionally the action is executed in the context of the linked content document.
This attribut is helpful when embedding portlets that contain links which would leave the portal page. Instead the action called can take care of changing the portlets context.
Value(s):
The ID of a previously defined TML-Action