In these tutorials you’ll learn how to develop portlet projects to top your Liferay pizza in such a way that the end-user won’t be able to tell the difference between . Developing Your First Portlet For example, features like platform-generated URLs exist to support Liferay’s ability to serve multiple applications on the same. In short, Liferay was written by developers for developers, to help you get The most common way to develop web applications for Liferay Portal is with portlets.

Author: Gojind Goltit
Country: Sri Lanka
Language: English (Spanish)
Genre: Travel
Published (Last): 9 September 2005
Pages: 78
PDF File Size: 15.13 Mb
ePub File Size: 3.66 Mb
ISBN: 635-9-32112-730-6
Downloads: 22476
Price: Free* [*Free Regsitration Required]
Uploader: Nikolkis

Its name should be guestbook-web-module Portlet.

Creating a Liferay MVC Portlet Project

Here are some links to instructions on Liferay development tools: Developing a new full-blown web application. The first few sections here are Learning Paths. With all your free time, you could. The sections that follow the Learning Paths are tutorials. Because of its ability to be customized, you can add support for more app servers or databases without modifying its source code: The New Portlet Wizard guides you in creating a custom portlet class.

With Service Builder, the model layer is generated into a service and an api module. A single Liferay project can contain multiple plugins. To add an application to a page, click the Add button in the upper right hand corner it looks like a plus sign develipment, and then select Applications.

To specify that property in your component, use this syntax in your property list:. Liferay Portal is based on the Java platform and can be extended by adding new applications, customizing existing applications, modifying its behavior, or creating new themes. The Liferay ;ortlet Network provides learning paths and tutorials that teach you how to use these three environments.


Technically, a module that contains only a manifest is still valid. Follow these instructions to create your first Liferay Module Project:. With Liferay Portal, you never have to start from scratch.

It is perfectly valid to bring the tools The properties namespaced with javax. Developing tutorkal custom theme that adapts the look and feel of the platform to the visual needs of your project.

Writing Your First Liferay Portal Application – Liferay – Liferay Developer Network

Liferay Portal also contains an OSGi runtime. The controller can be broken down into MVC command classes, each of which handles the controller code for a particular portlet phase render, action, and resource serving phases. Files stored here include the standard JSR portlet configuration file portlet.

This makes your applications easy to maintain and upgrade. For Liferay plugins, you can create a new plugin that extends an existing one.

This gives you access to all the MVC Portlet functionality you are familiar with, plus the added bonus of using Soy templates for The portlet can be on a page that contains other portlets. For example, a message boards or wiki portlet develoment best suited on its own page.

A module that publishes a portlet component with the necessary properties Something that lets you get right to the features of your app or site, rather than making you start over every time with the basic building blocks?


Modules are the core building blocks of Liferay Portal applications. What a perfect model for a web application! InJava Portlet Specification 2. Developing Your Tutprial Portlet Step 1 of 8. The last thing you want is for someone to grow frustrated with your site because of constant page This makes portlets much more flexible than servlets.

This makes tutorials better suited to those with some experience in Liferay development. Right now our portlet only has two views: If you just want to learn This is where you will be implementing your own functionality. Preferences are often used by developmeht to provide customized views of a portlet to subsets of users or even The Liferay-specific configuration files, while optional, are important if your portlets will be deployed on a Liferay Portal server. In this case, you created a Declarative Services DS component.

Portlets also porrlet a portlet filter available for each phase in the portlet lifecycle. There portlef two ways to pass information from the action phase to the render phase.