Alloy Showcase


  • 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 is intended to be used to render a simple <a href="...">hyperlink</a> that requests a URL via HTTP GET.


Link is a UIOutcomeTarget component that renders an <a> element (hyperlink). Since it extends HtmlLink, it supports all the features of h:link.

General Usage

The text/content of the hyperlink can be specified via the value of the component or by specifying child components. Setting includeViewParams=true will automatically include all of the f:viewParam tags (view parameters) as URL parameters.

Source Code

Liferay Faces Alloy 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.14