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
Sample: Remote Portlet (HelloUserRemotePortlet)

Step 3: Create the Display Resources File

The sample remote portlet HelloUserRemotePortlet uses a display resources file to provide a description to be placed in the portlet's metadata for display to users. (If this file is not provided, the portal creates a description based on the portlet's name.)

The contents of the file, which is named portletDisplayResources.properties, follow.

portlet.title=Hello User Remote Portlet
portlet.description=Example remote portlet

For more information, see Creating Display Resources Files.