Posts

Showing posts with the label MVCPortlet guide

Creating Your First Liferay Portlet

Step-by-Step Guide for Beginners (Liferay 7.x) Introduction If you are new to Liferay DXP , the very first real development milestone is: ❓ How do I create my first Liferay Portlet? A Portlet is the core UI building block of Liferay. Everything you see in a Liferay portal page is rendered by one or more portlets. In this blog, you will learn: What a portlet really is The tools you need How to create a Hello World portlet How the portlet lifecycle works How to deploy and test it Common beginner mistakes What Is a Liferay Portlet? A Portlet is a modular Java UI component that: Runs inside the Liferay portal Renders part of a page Handles user actions Talks to services and APIs Is deployed as an OSGi module Examples: Approval dashboard Task inbox Data entry form Reports view Workflow UI 👉 Think of a portlet as a mini web application inside the portal . Prerequisites Before you start: ✔ Java 11 or 17 ✔ Liferay 7.3 o...