After the request
item in the override request view is double clicked, BTT framework displays
the pages that are configured in the <list> tag one by one. The following
is the sample code to customize the pages.
<list Injection="value">
<com.ibm.btt.bc.override.customization.supervisor.ShowDetailsPage />
<com.ibm.btt.bc.override.customization.supervisor.CommentsPage />
</list>
In this sample, the showDetailsPage is displayed first.
And the teller, request time, and the screen image are displayed on the teller
side by default; secondly, the CommentsPage is displayed and by default the
supervisor can approve or reject the request now; and then, the setResult()
function can be called to send the response to the teller as configured in
the following code.
getSupervisorWizard().setResult(true, null)
You
can add any necessary page. For example, if you want to add an additional
page to display the teller's comments, develop a page,
com.xxxbank.supervisor.override.customization.MyCommentPage,
which is extended from the OverrideWizardPage, and add the class name into
the configuration file.
<list Injection="value">
<com.ibm.btt.bc.override.customization.supervisor.ShowDetailsPage />
<com.xxxbank.supervisor.override.customization.MyCommentPage>
<com.ibm.btt.bc.override.customization.supervisor.CommentsPage />
</list>