How to deploy portlet in WebSphere Portal?
Deploying portlet projects
- Open a Web browser to the Administration page of the remote WebSphere Portal server.
- Click Portal User Interface > Manage Pages.
- Select the page where you will add the portlet.
- Use the Add portlets buttons to add the portlet to the page, then click Done to save the changes.
What are the different ways of installing a portlet application in WebSphere Portal?
Remaining steps on adding a portlet to a portal page or setting access permissions are the same.
- Step 1: Install a Portlet in IBM WebSphere Portal.
- Step 2: Add a Portlet to a WebSphere Portal Page.
- Step 3: Access a Portlet as a New User.
- Step 4: Set Access Permissions for a Portlet.
What is portlet XML?
A portlet project, like a web project, is a J2EE web application. It is similar to a web project in that a web. xml file is maintained for it. The main difference between a portlet project and a web project is that the portlet project has an extra deployment descriptor, portlet. xml file, in the WEB-INF directory.
Where is Portlet XML?
docroot/WEB-INF folder
The Configuration Files are stored in the docroot/WEB-INF folder. Files stored here include the standard JSR-286 portlet configuration file portlet. xml , as well as three optional Liferay-specific configuration files.
What are the key configurations we can place in portlet XML file?
Let’s detail each file !
- 1 1- Portlet.xml.
- 2 2- Liferay-portlet.xml.
- 3 3- Liferay-display.xml.
- 4 4- Liferay-plugin-package.properties.
- 5 5- Liferay-hook.xml.
- 6 6- Web.xml.
- 7 7- Faces-config.xml.
What is a Liferay portlet?
Web apps in Liferay DXP are called portlets. Like many web apps, portlets process requests and generate responses. In the response, the portlet returns content (e.g. HTML, XHTML) for display in browsers.
Where is portlet XML?
What is portal and portlet?
A portal is a collection of mini web applications, called portlets. A portal supports features like personalization, content aggregation, authentication, and customization. Portlets act as windowed web applications within the portal, and each window in a portal web page (called a portal page) represents a portlet.
What is a portlet application?
Portlets are reusable web modules that provide access to Web-based content, applications, and other resources. Portlets can run on the application server because it has an embedded JSR 286 Portlet container.
What is the difference between portlet and servlet?
Servlets can render complete web pages, whereas portlets renders html fragments. These fragments are aggregated by the portal into a complete web page. The content type of JSR 168 portlets can be only cHTML, XHTML, WML.
What is the life cycle of a portlet?
This portlet life cycle method has important role in implementing event based inter portlet communication (IPC). As soon as process event method is completed the portlet container invokes render method. Called by the portlet container to allow the portlet to generate the resource content based on its current state.
What are portlet applications?