Create Finder method for Service builder in liferay

Finder method in Liferay provides facility to add customization in service layer. Finder method allows to define custom methods which is used to fetch data from DB for different table column. In... Read more »

Creating Service layer in Service Builder in Liferay

Service builder is an automated tool to construct service and persistence layer in Liferay. We need to define business models (entities) and rest is taken care by service builder. Service Builder is one... Read more »

Multiple render method in Liferay MVC Portlet

Multiple render in portlet is used to show different views. This is required when different actions requires different results to show. Many times we need different views to display the output after... Read more »

Playing Audio in Flow Player in Liferay

Liferay is not only a portal but much more. For example, Liferay is one of the best CMS (Content Management System) used today. Liferay CMS is comprised of Web content, Structure and... 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 »

How to create multiple portlets in single Liferay plugin project

Liferay Plugin project can be created in Liferay IDE. We can add multiple portlets in single liferay plugin project. They all combined in single WAR file. So far we have seen that... Read more »

Configure Liferay with My SQL or any other Database rather than HSQL DB

Liferay by default comes with HSQLDB configured. HSQLDB is generally used for development purposes and it’s not recommended for Production. If you observed the Liferay server log then you will come to... Read more »

How to create Friendly URL for Liferay portlet

You might have seen long URLs of links/forms of portlets created by Liferay. These URLs are called Portlet URLs and they are generated dynamically at run time when we place the portlet... Read more »

Server Side Validation in Liferay

Validation is an essential part of any framework or tool. Validation can be done at client side (through JavaScript) and server side. In this article, we will see how to do server side... Read more »

Render and Action methods in Spring MVC portlet in Liferay

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