Executing simple BTT operations

For a simple transaction, create an HTML page that contains an HTML request form.

An HTML form (using the <form> tag) enables the user to enter data on a Web page and submit it to the server. When the request form is submitted , the BTTBasePortlet class is called to process the form. This portlet performs the following procedure:

  1. Gathers information from the form (both the visible and the hidden fields)
  2. Uses the PortalRequestHandler class to create the BTT operation specified by a hidden field in the request form
  3. Updates the operation context
  4. Validates and cross-validates the data given to the operation
  5. Executes the operation

At the end of the operation, you might want a confirmation page to be returned to the client. See the following for example:

<btt:form opName="testOp" nextEventName="dseSkipRender" errorPage="test.jsp">