Select Data to be Exported
Merely viewing the data that came from the browser request is not particularly useful. To be able to use the data, there must be a way to select it. Similarly, producing a blank XML output is of limited use. To be able to present the data to the end user, there must be a way to send it out to the browser. To accomplish these goals:
- Select the Form Variables tab of the Form Module Properties sheet.
- Select all of the items listed under Variables from Form except for the item named Submit. This is accomplished simply by clicking on the items that are to be selected. Nodes can be deselected by clicking on them again.
Selecting the data that is of interest in the Form Module like this makes it available for the other modules that come after the Form Module to make use of these data items.
- Select the Properties node that is below the XMLExport node. This changes the panel on the right side of the Enterprise Composer to change to the Properties sheet of the XMLExport Module.
Notice that the data items that were selected in the Form Module appear in the list on the XMLExport Properties sheet.
- Select all of the items that appear in the XMLExport Properties sheet by clicking on them with the mouse.
This instructs the XMLExport Module to attempt to export the data that has been selected. Since the data came from the Form Module, the result will be that the Untitled0 Servlet will now output the data that has been entered in the form.
- Test this by using the browser's back button to get back to the form and clicking on the submit button once again. This should produce a familiar looking XML output result that also includes the data that was entered on the form.
Try going back to the form, changing the data on it and re-submitting it. Notice that the output data changes correspondingly.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |