PortletRenderURL is a UIComponent that provides the ability to get a PortletURL that invokes the RENDER_PHASE of the portlet lifecycle targeting the current portlet.

General Usage

Specify portlet:param as a child tag in order to add portlet render parameters to the URL.

Source Code

<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html"

	<portlet:renderURL var="renderURL">
		<portlet:param name="foo" value="bar" />
	<h:outputLink value="#{renderURL}">
		<h:outputText value="#{i18n['hyperlink-targeting-the-showcase-portlet']}" />

Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 3.1.1 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20