Download presentation
Presentation is loading. Please wait.
1
Create a Portlet Project in RAD
Specify a name for the project Choose the target runtime as “WebSphere Portal v6,1” Portlet API can be JSR 168/JSR286/IBM portlet. For Portlet Types – you can choose from Empty/Basic/Struts/Faces portlet. Since I am trying to deploy a simple application, I choose Basic Portlet.
3
To create a portlet with view mode alone.
4
To create a portlet with view and edit mode, select “Add preference handling to diplay and edit preferences.
6
This creates a portlet application that extends a portlet class: the GenericPortlet class of the JSR 168 portlet API. This portlet type contains the portlet class, sample JSP files that are used in rendering the portlet, and a sample Java bean.
7
Project Lesson_4 and its folder structure
8
Now, lets deploy the portlet Lesson_4.
Export the project as a war file.
10
Login to the WPS page using a browser – http://<host>:10040/wps/myportal
11
In the ‘Web Modules’ click on ‘Install’
12
Browse and upload the war file.
13
By default, the display name of PA_Lesson_4 is given, indicating it as a Portal Application
14
When you see this page, Lesson_4 is deployed in WPS.
15
Navigate to ‘Manage Pages’ to include ‘Lesson_4’ in a page.
17
Edit the page using the ‘pencil’ icon
18
Add the portlet to any frame of your choice by clicking the ‘Add Portlets’ button.
19
Search for the portlet and click ‘OK’
20
You can see the portlet added to the page
21
View the page in the browser, the portlet can be seen.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.