Using the portlet:actionURL UI Component

Liferay Faces Bridge provides several Portlet 2.0 UIComponent tags as part of its component suite. In this tutorial, you’ll learn about the portlet:actionURL tag.

If the var attribute is present, the portlet:actionURL tag introduces an EL variable that contains a javax.portlet.ActionURL, adequate for postbacks. Otherwise, the URL is written to the response.

<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns=""
    <h:head />
            <portlet:actionURL var="myActionURL" >
                <portlet:param name="foo" value="1234" />
            <h:outputText var="actionURL=#{myActionURL}" />

This knowledge adds just another component tag for your JSF portlet development.

Liferay Faces Alloy UI Components

Understanding Liferay Faces Bridge

« Using the bridge:inputFile UI ComponentUsing the portlet:namespace UI Component »
Was this article helpful?
0 out of 0 found this helpful