hyperLinks
In the context of DOUI, the hyperlink is used not only to link to another interface but also to send content from one interface (current) to another (destination).
Typically, interfaces need to communicate with each other. An example of this is the index of content from the List interface to the Details interface, which many services present.
The index must have the ability to redirect the user to the page that displays the Details interface and send the selected content to this interface. The issue involved is that the Details interface may be available on any page of the portal, causing the content index to know which page the user should be redirected to.
For <onClick type= "renderAction">
, you can also specify a destinationAnchorId
attribute by passing a valid name for html anchors. Thus, if the destinationAnchorId="ABC"
attribute is specified in the <onClick type="renderAction">
, you must insert the element <A name="ABC"/>
on the destination page.
When a sourceId
attribute is not specified in the interfaces/interface/hyperLinks/hyperLink element, the default source will be used.