Note

  • alloy:outputlink is intended to be used to render a simple <a href="...">hyperlink</a> that requests a URL via HTTP GET.
  • alloy:link is intended to be used to render a hyperlink that navigates to other JSF views via HTTP GET, or perhaps to re-render the same view with different view parameters via f:param child tags.

alloy:outputLink

OutputLink is a UIOutput component that renders an <a> element (hyperlink). Since it extends HtmlOutputLink, it supports all the features of h:outputLink.

General Usage

The value of the component is rendered as the href attribute and the children of the component are rendered as the text/content of the hyperlink.

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20