To implement your application within a portal, create one or more portlets that communicate with Webform Server. These portlets represent your overall application, and route forms between the user and the Translator when necessary.
The portlet can include any functionality that you want. For example, you might create a portlet that not only uses the Translator to provide HTML forms to the user, but also routes completed forms to the next step in their life cycle.
To create this portlet, you must extend the IBMWorkplaceFormsServerPortlet
class that is provided with Webform Server. This class is based on the JSR 168 portlet standard, and also provides a number of methods that will simplify the process of implementing your portlet.
Alternatively, you can use the Forms View Portlet that is included with IBM
® Forms Server 4.0 to implement your forms into a portal without having to create the portlet yourself. For more information about this ready-to-use portlet, see the http://www-10.lotus.com/ldd/lfwiki.nsf/dx/Form_View_Portlet
For your portlet to access your XFDL forms directly, you must install the IBM Forms Server – API and use it with the IBMWorkplaceFormsServerPortlet class to develop your portlet. For example, you can pre-populate forms as you load them, or extract data from forms when they are submitted. For more information about the API, visit the IBM Forms API documentation.
Parent topic: Developing applications