User Submits a FormAdded by IBM on July 25, 2013 | Version 1 (Original)
The following algorithm presents a simple way to respond to a form submission:
- The user submits a form to the portlet.
- If the form was previously translated into HTML, the IBMWorkplaceFormsServerPortlet automatically translates the form back to XFDL, then passes it through to your processActionEx method. If the form is XFDL, it is automatically passed through to your processActionEx method.
- In your processActionEx method, you process the form as required. This may include saving the form to disk, archiving the form to a database, or sending the form to the next stage of a workflow.
- Write the details of the response to a session bean. For example, you might write an HTML page to the session bean, or simply the location of an HTML page that should be sent to the user.
- Once you have written the information to the session bean, you can end your processActionEx method. The IBMWorkplaceFormsServerPortlet object will continue operations from that point.
Further processing is carried out as part of the doViewEx
method, which is triggered by the Portal after the processActionEx
method is finished.
Parent topic: The processActionEx Algorithms