SAS 9.1.3 Integration Technologies » SAS Web Infrastructure Kit: Developer's Guide


Developing Custom Portlets
Development Steps
Creating a Deployment Descriptor
Creating Display Resources Files
Developing the Presentation JSP Page
Creating Action Classes
Implementing Portlet Help
Creating a PAR File
Use Cases
Simple Display Portlet
Localized Portlet
Portlet Template (Editable Portlet)
Remote Portlet
Tips and Best Practices
Using the Portlet API
Sample Portlets
Localized Display Portlet (Welcome)
Interactive Form Portlet (FormExample)
Portlet Template, or Editable Portlet (DisplayURL)
Web Application (HelloUserWikExample)
Remote Portlet (HelloUserRemote
Portlet
Developing Custom Portlets

Use Cases

This section describes the steps that a portlet developer would need to perform in the following common uses cases:

  • Creating a simple display portlet. A simple display portlet is one that displays text, data, and/or images, with no localization and no interactive capabilities.

  • Creating a localized portlet. A localized portlet, also referred to as an internationalized portlet, displays its text, numbers, and dates in the correct language and format for the locale (country and language) that the user has selected.

  • Creating a portlet template (editable portlet). A portlet template is a portlet from which users can create their own portlet instances. By clicking the portlet's Edit icon, the user can change the portlet's behavior as enabled by the editor action that is associated with the portlet.

  • Creating a remote portlet. A remote portlet calls a Web application which is deployed and executed outside of the portal Web application.

For detailed information about a specific portlet development task, refer to the Development Steps section. For examples of fully developed portlet code, see the Sample Portlets section.