You must implement your portlet by extending the IBMWorkplaceFormsServerPortlet
class, which is provided as part of Webform Server. The IBMWorkplaceFormsServerPortlet
class is itself an extension of the standard HTTP portlet class defined in javax.portlet.GenericPortlet. As such, it inherits the methods defined for a generic portlet, and you are free to use or overwrite those methods.
In addition, the IBMWorkplaceFormsServerPortlet
class provides a collection of custom methods to assist you in writing your portlet. These methods provide form-related functionality, such as setting the response type to XFDL or HTML, determining whether the client has the Viewer installed, and so on.
For more information about the IBMWorkplaceFormsServerPortlet
class and its methods, refer to the Webform Server Javadoc
™ documentation on the IBM
® Web site.
Some sample portlets are also provided with Webform Server, including the source code used to implement the portlets. For more information, refer to Using the sample portlet
Parent topic: Creating a Portlet