The BTT portlet application can be initialized (automatically during the BTTBasePortlet initialization) by using the BTTBasePortlet after the portlet application is started. After the BTT portlet application is initialized, all the requests from the portal are handled by the BTTBasePortlet. When a new session request arrives, BTTBasePortlet performs the following tasks:
To process the session request, PortalRequestHandler performs the following the tasks:
The execute method of the startup operation perform the following:
After the first request arrives at the server, any subsequent requests from the client side contains the fields that were returned from the server in the previous response. Therefore, the fields that are required in a request for executing operations depend on what has been sent previously. Remember that an HTML page on the client workstation contains what the server has built as a response to a previous request.
The HTML page rendered by a JSP can contain simple data fields or complex data, such as indexed collections. Other than the application fields, there are some mandatory fields that need to be presented in the portlet request. These fields must have been returned to the client in the previous portlet response from the server. See Populate the response page with the required fields.