Naming the Process Fields |
![]() ![]() ![]() |
The HTML form elements wrapped by the Process Fields should have the "pf_" prefix in their name attributes as follows.
Once a Process Form is submitted to the MoreMotion Process Manager, the Process Manager first parses the request and builds the ProcessForm, ProcessBlock, ProcessRecord java objects out of it. To help ProcessManager to recognize which parameters belong to which ProcessBlock, the MoreMotion Face updates the name attributes of the HTML form elements before submitting the form. MoreMotion Face inserts the sequence number of the ProcessBlock that the elements belong to into the value of the name attribute. For example, if the fields in the example above are in the first block of the form then their names become pf_1_NAME and pf_1_ID before the form submission. |