Passing information from Action to Render Phase

Portlet specification defines various phases of portlet like render, action, serve-resource, event etc. Passing information from one phase to another(e.g passing information from action to render) is common scenario. When portlet completes... Read more »

action URL By Java Script (AUI module – Liferay.PortletURL)

Liferay.PortletURL.createActionURL will be used in liferay to create action URL in Javascript. liferay-portlet-url module of AUI (a JavaScript framework) provides Liferay.PortletURL object which is used to create action URL in Javascript. Liferay provides nice... Read more »

create action URL By Liferay tag (liferay-portlet:actionURL) in JSP

liferay-portlet:actionURL is a custom tag provided by Liferay. This tag is used to create action URL. liferay-portlet:actionURL is one of the very useful tag provided by Liferay. In this article, I will be showing... Read more »

create action URL programatically in Portlet class and JSP

Liferay provides PortletURLFactoryUtil class to create action URL programatically (Java API). Such action URL can point to different portelt which is placed on either same or different page. Liferay provides facility to create action URL programatically... Read more »

Portlet Action method invocation in Liferay

Portlet action method executes action phase of portlet. It’s not required to override any method to define action method in portlet. Portlet action method is called by its super class (LiferayPortlet) through reflection. actionURL(in... Read more »

create action URL by Portlet Tag (portlet:actionURL) in JSP

actionURL is used to call portlet’s action method. portlet:actionURL tag is a custom tag provided by default portlet implementation (resides in portlet.jar) to construct actionURL portlet:actionURL tag is used to call portlet action method... Read more »

Portlet Action Phase / Lifecycle

portlet action phase is executed in portlet’s action method. It’s called by action URL. During action phase, user will interact with portlet. Portlet action phase is used to perform some action on portlet. Only one... Read more »

Call Portlet Action Method From Another Portlet On Different Liferay Page

Sometimes, we need to call portlet action method from another portlet which may be on same or different Liferay page. For this we need to construct action URL through Java API which... Read more »

Render and Action methods in Spring MVC portlet in Liferay

Spring MVC Portlet in Liferay provides facility to define multiple render and action methods. Liferay MVC portlet however allow one render method and multiple action methods. In this article, we will see... Read more »

Creating custom Liferay MVC portlet

In this article, we will see how to write custom Liferay MVC portlet. Liferay MVC is a lightweight framework provided by liferay to create JSR-168/286 compatible portlets. For simplicity, we will display the string... Read more »