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.
|Published (Last):||6 January 2015|
|PDF File Size:||3.18 Mb|
|ePub File Size:||10.51 Mb|
|Price:||Free* [*Free Regsitration Required]|
Writing Your First Liferay Portal Application
Summary Previous Creating a Portlet Next. This lets a portlet serve dynamic content without running the Render phase on all portlets on a page.
Every application is made from one or more modules. One of the most often cited best tutorail of Liferay is how versatile it is. Liferay Portal is designed to be extended. This includes public sites, internal sites like intranets, or mixed environments like collaboration platforms.
Many Liferay applications can run at the same time on the same page. Each portlet phase executes different operations: Although tutorials also contain example code, this code is general and is designed to give you the information you need on only the topics of your choosing.
This section shows oiferay how to develop portlets using the following frameworks and techniques:. Doing all this in other types of web apps would require manual re-coding. Portlets, however, allow Liferay Portal to serve many applications on the same page at the same time. You can also extend them to include your own functionality, and this is no hack: 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?
For a detailed description of these features, see the tutorial OSGi and Modularity.
Creating a Liferay MVC Portlet Project – Liferay – Liferay Developer Network
First up is creating a portlet with Liferay IDE, so go ahead and get started. Creating themes and customizations is easy in Liferay. InJava Portlet Specification 1. Technically, a module that contains only a manifest is still valid. There are two ways to pass information from the action phase to the render phase.
Portllet files should go in the docroot folder.
Writing Your First Liferay Portal Application – Liferay – Liferay Developer Network
Learning Paths walk you through the development of a specific example application from start to finish, beginning with setting up your development tutoriial and ending with a fully functional example application. Currently, the following learning paths are available: The Render phase runs when any portlets on the page complete the Action or Event phases.
Depending on how you develop and package your portlet, however, it may not be able to run on other portal containers. If the module sometimes also called a bundle encapsulates pieces of your application, the component is the object that contains the core functionality. By default, new portlets use the MVCPortlet framework, a light framework that hides part of the complexity of portlets and makes the most common operations easier.
Open a browser, navigate to your portal http: The Display namehowever, can have spaces. A module that publishes a portlet component with the necessary properties For example, the Edit mode of a weather portlet could let you choose a location to retrieve weather data from.
Your first application is simple: Files stored here include the standard JSR portlet configuration file portlet. The last thing you want is for someone to grow frustrated with your site because of constant page The first few sections here are Learning Paths. You understood the Action phase and