TOC PREV NEXT INDEX



Add Form Input to the Servlet


Adding the ability to access the data that comes from the form when the submit button is pressed is accomplished by adding a Form Module to the servlet.

  1. Select the Modules tab of the Simplicity Enterprise Module Palette.
  2. Drag the Form icon to the Modules node of the tree on the left of the Enterprise Composer.

Note that this time, the red line might appear in two different locations as the icon is dragged across the table. That is because it is possible to drop the icon either before or after the existing XMLExport node. For this tutorial to work correctly, the Form Module must be dropped before the XMLExport Module. This should leave the Form node above the XMLExport node in the tree. Don't worry if you drop it in the wrong location or the drop fails. If the Form node ends up after (i.e.: below) the XMLExport node, then simply drag the node up above the XMLExport node. If the drop fails, simply try again.

  1. Select the Properties node that is under the Form node.

This will cause the panel on the right hand side of the Enterprise Composer to change to the Form Module properties sheet. In most Modules, this is a place where you can enter information that configures the modules to do what you want. In the case of a Form Module, however, it is a place where form data will appear and be available for selection.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX