Presentation is loading. Please wait.

Presentation is loading. Please wait.

Create a Portlet Project in RAD

Similar presentations


Presentation on theme: "Create a Portlet Project in RAD"— Presentation transcript:

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.

2

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.

5

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.

9

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.

16

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.


Download ppt "Create a Portlet Project in RAD"

Similar presentations


Ads by Google