Struts Portlet Framework examples

 

+

Search Tips   |   Advanced Search

 

The Struts Portlet Framework in WebSphere Portal includes sample applications for both the standard and IBM portlet containers. These samples demonstrate the use of the framework. The previous releases of the Struts Portlet Framework supported only the IBM container.

All sample portlets are available in...

portal_server_root/installableApps

Subsequent updates of these samples will be available from the portlet catalog by searching for navcode 1WP10004N. See Sample portlets for more information.

The following lists the examples for the standard portlet container.

  • SPFStandardBlank.war
  • SPFStandardClock.war
  • SPFStandardCommandManager.war
  • SPFStandardEditMode.war
  • SPFStandardFileUpload.war
  • SPFStandardLookupAction.war
  • SPFStandardMailReader.war
  • SPFStandardMultipleServletContexts.war
  • SPFStandardStockQuote.war
  • SPFStandardTiles.war
  • SPFStandardTransformation.war

The following lists the examples for the IBM portlet container.

  • SPFLegacyBlank.war
  • SPFLegacyClock.war
  • SPFLegacyCommandManager.war
  • SPFLegacyEditMode.war
  • SPFLegacyFileUpload.war
  • SPFLegacyLookupAction.war
  • SPFLegacyMailReader.war
  • SPFLegacyMultipleServletContexts.war
  • SPFLegacyStockQuote.war
  • SPFLegacyTiles.war
  • SPFLegacyTransformation.war

The following lists a short description of each sample.

Blank These are similar to the Jakarta Struts blank and can be used to obtain the minimum set of files for developing a Struts application for WebSphere Portal.
Clock Example of the new IStrutsPrepareRender interface.
CommandManager Demonstrates how to implement a custom command manager.
EditMode Demonstrates how to use edit mode to configure an application on the two containers.
FileUpload Demonstrates the use of the commons-fileupload framework in a Struts application.
LookupAction Demonstrates the use of the portal friendly lookup dispatch action.
MailReader This is the same example shipped by Jakarta Struts modified to be deployable in WebSphere Portal.
MultipleServletContext Demonstrates a method to create a web application with multiple Struts portlets and how the portlets can communicate with each other using the Property Broker.
StockQuote Demonstrates the use of the IStrutsPrepareRender interface.
Tiles Demonstrates the use of Tiles in the Struts framework.
Transformation Demonstrates using the IStrutsPrepareRender interface to apply a style sheet to XML data.

 

Related Information

 

Parent topic:

Installed portlets