ProcessForm

Top  Previous  Next

ProcessForm is the container element that embeds all other process elements. A ProcessForm element is made out of a HTML form element as follows.

   <form name="ProductsForm" method="post" action="ProcessManager.doms"
      mo:type="ProcessForm" mo:name="ProductsForm" mo:props="formConfigName:'ProductsForm'">
    ...
  </form>  

 

The action attribute of the form element must always be "ProcessManager.doms" which is the MoreMotion Service that receives all the process based requests. This element is wrapped by ProcessForm Function Class .

A Process Form has only one property called formConfigName that specifies the name of the form in the MoreMotion configuration. This property is optional and if it is omitted then the element name is used as the configuration name.

Configuration name of a Process Form is used as a naming qualifier for the processCommand element.

  <processCommand name="ProductsForm.DeleteProduct"> <!-- Qualifier for the Process Command -->
    <processTemplate name="DeleteProduct"/>
    <nextPage>/Page1</nextPage>
    <method>Post</method>
  </processCommand> 

 

The elements that can be placed into a ProcessForm
 

ProcessCommand Element

ProcessBlock Element