Nliferay portlet development booklet

After the credit check with a credit agency the phone is activated with the. The portlet container, which holds the users preferences, calls the portlets via the portlet api, requesting the markup fragment from each portlet and returning the fragment to the portal. And because portals and portlets are so flexible, the accompanying source code can be easily adapted and reused. Liferay in action is a comprehensive and authoritative guide to building portals on the liferay 6 platform. Important disclaimers 2 the information contained in this presentation is provided for informational purposes only. Liferay have come up with their portlet frame work called liferay mvc. I want to create my own portlet with the eclipse juno for liferay. Portlets in action is a comprehensive guide to building portlet driven applications in java. Note that you can display the properties for a workpaper in the workpaper properties portlet, but you cannot make any changes to the selected workpaper in the portlet. In this chapter well create and deploy a simple portlet using the plugins sdk. Portlet development guide introduction portlet overview portlet development and the portal life cycle architecture development staging production getting started prerequisites related guides part i architecture portlet planning portlet development in a distributed portal team portlets in. Or, refer to developing portlets for information on creating custom portlets. Jsr168 portlet development simplified, second edition.

Both of those portlets are explained in more detail in chapter 5. Rightclick a workpaper in the engagement binders tree portlet and choose properties to edit the properties of a workpaper. Liferay mvc is portlet development framework given by liferay. Create a liferay pluginportlet using servicebuilder, put the utility classes in the service package so that the utility classes go in the nameofyourprojectservice. This article will highlight the main concepts behind the java portlet specification. The extended model interface for the journalarticle service. Liferay mvc portlet development with liferay ide liferay. The java portlet specification defines a contract between the portlet container and portlets and provides a convenient programming model for java portlet developers portlets are pluggable user interface software components that are managed and displayed in a web portal, for example an enterprise portal or a web cms. Journalarticlemodel, journalarticleimpl, journalarticlemodelimpl generated. The presentation provides an introduction to portlets using liferay portal including portals and portlets. Last well clean up the portlet s urls by adding a friendly url mapping. Liferay tutorial liferay portal portlet tutorial journaldev. The java portlet specification promises to simplify the development of enterprise portals by providing a standardsbased set of apis. It illustrates how to write layout templates and themes in the plugins sdk environment.

Liferay portal enterprise builds upon the portlet api jsr 168 to provide users with a rich set of portlets. The default modes defined in jsr 168 are view, edit and help custom. Aug 29, 2011 rivet logics costa rica developers forge presented this at a costa rica java users group meeting. The authors experience customizing liferay using java enables him to explain in a clear and precise manner how to build custom systems on top of liferay portal. The book gives examples of advanced struts portlet development. Liferay mvc portlet is default liferay portlet development frame work and it is inbuilt in liferay plugins sdk. Imagine a portlet development book that dealt with just that. Follow the instructions found in hot deploy to learn how to hot deploy external wars that are not bundled with liferay. First, it describes liferay tools such as web content management wcm, content management system cms, and collaboration and social apis.

Liferay plugins sdk with liferay ide is good for portlet development and we will use other portlets in real time rather than generic portlet but we need to have more understanding about generic portlet then we will know more in future development. This tutorial is intended to provide you a full detailed explanation for getting liferay portal up and running and deploy the same employee registration sample that we had developed in earlier tutorial. Portlets have multiple states and view modes, plus event and messaging capabilities. Budget with minor changes to the totals income statement current year budget variance financial statement in the report designer, you can create a similar chart in the report designer. Tutorial for creating own portlet in liferay with eclipse. Discussion in services started by isocial, mar 30, 2010. Portlets are pluggable user interface software components that are managed and displayed in a web portal, for example an enterprise portal or a web cms. Ibm rational application developer v6 portlet application. Liferays blade samples provides bootstrap project environments for all major build tools in common use for java projects so that liferay development can start quickly and easily. Represents a row in the journalarticle database table, with each column mapped to a property of this class. Xmlportletfactory is a software tool that creates database tables maintenance portlets from xml files.

Portal application development using websphere portlet. Portlet 2 is a navigation portlet and portlet 4 is a breadcrumb portlet. Liferay mvc is portlet framework specially designed for liferay and we can develop portlet and deploy into liferay portal. The goal is to allow portlets to be packaged into war files and deployed in a standard way on any server implementing the specification. Administrators and users compose personalized pages by choosing and arranging portlets, resulting in customized web pages. Project learn covers developing an elearning portlet family based on the scorm standard, including scorm player, scorm quiz editor, and a gradebook portlet. A portlet is a complete application, following a standard modelviewcontroller design. The java portlet specification defines a contract between the portlet container and portlets and provides a convenient programming model for java portlet developers.

Could you tell me if the context change is possible. Creating a liferay mvc portlet project liferay help center. The other portlets include noncognos portlets that conform to the web services for remote portlets wsrp standard, such as oracle portlets, or sun portlets. The portal comes with many portlets, but you can also create your own. Bootstrap liferay advanced developer environments blade for liferay portal 7. From a users perspective, a portlet is a window on a portal site that provides a specific service or information, for example, a calendar or news feed. Portlet wizard reference order of creation resource or portlet first. The liferay open source software can be considered as a framework about which your website is created. Portlet development platform sample installation chapter 4. This weeks book giveaway is in the artificial intelligence and machine learning forum. Its also follows all jsr portlet standards and it inherited the generic portlet features. Any property added to the model in the populatemodule method is available under the model property. There are different types of portlet containers such as apache pluto, oracle web center and liferay.

Feb 09, 20 learn liferay development from expert liferay trainers. Liferay portal systems development shows java developers how to use liferay kernel 6. Portlets are small applications that are independently developed, deployed, managed, and displayed. Although liferay has a number of ready made portlets which add additional functionality to the site, they may not be tailored and suited to your needs. Starting the portlet wizard new portlet dialog select portlet type dialog portlet details dialogs how to build each type of portlet jsp and html portlets java portlets.

Jul 24, 2008 in this article, benjamin mestrallet and tugdual grall provide an overview of the exo platform, the portlet 1. To add another link of your choosing to this portlet, click the portlet title bar and then navigate to the desired location. Portlets in action is a comprehensive guide to building portletdriven applications in java. Learn liferay development from expert liferay trainers. It teaches portlet development handson as you develop a portal that incorporates most key features of the portlet 2. You dont have to be a java developer to take advantage of liferay s builtin features. Portlets in a luminis environment by bob walker on prezi. This book therefore provides a fully worked example, showing the effort required to take the open source yazd forum software and wrap it as a portlet. They give clear, step by step instructions on basic installation, development environment setup, jsp portlets and struts portlets. Have a web developer or a bea portlet developer create portlets for you, or download portlets from the aqualogic user interaction support center.

Many have found them very useful in their first experience with portlet development. From an application development perspective, portlets are pluggable web modules that are designed to run inside a portlet container of a portal server. Customize liferay portal using the jsr286 portlet, extension environment, and struts framework build your own social office with portlets, hooks, and themes and manage your own community the only liferay book aimed at java developers. It will allow a customized greeting to be saved in the portlet s preferences and then display it whenever the portlet is viewed. Generic portlet development with liferay plugins sdk and. Liferary is a jsr 286 complaint leading portlet container. Portlet mode and window state portlet mode indicates the function the portlet is currently performing. You can use it to organize your tasks or your teams. Java community people was founf some of the limitations in jsr 168 and they are added new specifications to jsr 168 then they released as jsr 286 standards. To build the project, ensure that the liferay paths defined the pom. This article is taken from the book portlets in action from manning publications. Introduction to portlet development liferay help center.

The latest release of liferays flagship product, liferay portal 6. After the credit check with a credit agency the phone is activated with the whole process taking less then 20 minutes. Its part of a threepart series that creates a portlet example using the spring 3. You can create as many lists as you need tasks, presents, buys, travels. The book starts with the development of jsr286 portlets in liferay. If there are actions that need to be taken when the portlet is referenced, override the populatemodel method. Portlets 1, 3, and 5 are journal content portlets that contain static journal articles. Portlets provide your portal users with customized tools and services as well as information. Lps14526 liferay core portlets context changing liferay. Introduction to portlet development in this chapter well create and deploy a simple portlet using the plugins sdk.

If youre completely new to liferay, you may first want to go through the beginning liferay development learning path. First up is creating a portlet with liferay ide, so go ahead and get started. Develop a common jar library for different liferay portlets. Fully supported and authorized by liferay, this book guides you smoothly from your first exposure to liferay through the crucial daytoday tasks of building and maintaining an enterprise portal that works well within your existing it infrastructure. In this article, benjamin mestrallet and tugdual grall provide an overview of the exo platform, the portlet 1. Verification and support for these remote portlets may be incomplete because wsrp is a new standard for remote portlets that is still in the process of implementation by many vendors.

Creamtec lead the design and development of a javabased activation application that collects the browser and communicates with backend services to create customer account in the billing system. Part ii development understanding portlet development portlet components portlet properties portlet title bar, mode, and state portlet preferences resources for creating portlets portlet rendering render and prerender forking asynchronous portlet content rendering portlets as popups detached portlets jsp tags and controls in portlets backing. The following are examples from the portlets bundled with liferay. This is tree view navigation portlet for liferay wiki. Imagine a great book that made understanding the jsr168 api easy, and taught you exactly what you needed to know to start developing effective portlet solutions. Weve recently put up powerpoint presentations on portlet development. The portal application then issues calls to the portlet container for all portlets on the current page.

You can use liferay portlet for creating an enterprise, standard and scalable web application. Work with the jsr286 portlets and extension environment, helping you to build larger applications and reuse portlets in different scenarios. View full course content, liferay liferay development. It shows liferays standardcomplied way to develop jsr286 portlets. If you are a java developer who wants to build custom web sites and wap sites using liferay portal, this book is all you need. Liferay has vast potential to support various learning activities in educational institutions and other settings, such as in corporate training.

This document lists the key capabilities and portlets in major functional categories. Liferay tutorial there are different types of portlet. This frame work is liferay specific one and we can use in liferay portal. Portlets are more than simple views of existing web content. Yuan is a development cookbook covering many aspects of liferay plugin development. This book will give you plenty of handson examples to customize and extend liferay portal. Portlets generated only work on liferay portals, and come out with source files jsps. Portlets creating a development environment and plan to move channels in luminis 4 to portlets in luminis 4 and 5.

Websphere portlet factory is a powerful and flexible tool for rapidly building portlets on top of a serviceoriented architecture. Portlet modes and window states artisans of open source in constrast to servlets, there are two main state items managed by the container for each portlet. If you continue browsing the site, you agree to the use of cookies on this website. The atlas portlet plugin is a standalone project and does not contain any dependencies that are not readily available in the maven central repository. We need not to do any additional configuration or need not to add any additional jar files when we develop portlet using liferay mvc. The portlet specification is required to achieve interoperability between portlets and javabased portal servers or other web applications that implement the specification. Using this book you can customize liferay into a single point of access to all an organizations data, content, web content, and other information from both existing inhouse. A portlet can aggregate integrate and personalize content from different. Developers are able to quickly and easily leverage their companys core assets, automatically assembling them into custom, highvalue portlets.

1395 8 411 1502 702 1533 227 1508 821 1417 517 729 1125 69 69 155 1019 516 1344 1224 1080 580 474 600 882 446 1546 1678 1093 999 1337 1586 1621 353 765 525 1137 21 1495 27 710 790 1392 998 111 989 1138 1120