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 4: Create the Web Application

The sample remote portlet (HelloUserRemotePortlet) calls the Web application HelloUserWikExample. This application is enabled by SAS Foundation Services and runs outside of the portal Web application, either on the same machine or on another machine.

If an application is called from a remote portlet, then it must generate an HTML fragment to be displayed within the portlet borders. The JSP page for the HelloUserWikExample contains conditional code that determines whether the application request was generated by a portlet. The JSP page then generates the appropriate type of HTML.

The steps required to create the application are described in Sample Web Application (HelloUserWikExample).