Portlet
- Associates files, XML and JPSs
- Editable in design view/Source editor
- Create/Open a Portal file in IDE
- Answer yes when prompted if you want to create portlet
- Wizard opens up
- Title, Content URI, Error page
- Alternatively right click on Portal web project,
- New->Portlet
- Select Portlet Type: Jsp, Struts, Java, remote,Page flow
- Can use portlets from Portlet Library
- Annual reports
- Business publications
- Company News
- Company Performance
- Discussion Forums
- Login Director
- Login To Portal
- Market Summary
- My Calendar
- My Contacts
- My Contents
- RSS News feed
- Targeted menu
- Tutorial
- Yahoo Mail
- Yahoo Search
- Steps
- Copy .portlet file into
/project/portlets/includes - Copy >=1 JSP files to
/project/portlets/ / /portlets folder. - In some cases, copying a *.java backing file to your
/ /
WEB-INF/src//... folder. - In some cases, copying a JAR used by the portlet to your
/ /WEB-INF/lib folder.
- Modes
- Edit-Custom File to let users modify content
- Help
- Float-Portlet displayed in a Popup
- States
- Maximize
- Minimise
- Delete
- Modified in properties editor
- Icons are stored in /images directory
- Modify in Property Editor
- Insert-> EditMode or Insert->HelpMode
- Floatable
- .portlet file
Read more...