As an Internet Banking developer, you can define the service list
XML file, Service.xml based on the Service.xsd schema, and put this
XML file on the server side.
It is kept as a tree structure to store the service hierarchy which
can be collapsed and opened as shown in the following figure.
The service list XML file, Service.xml , also keeps the attributes
used to initiate the widget instances. End-users can select a service
and add it into the Workarea as widget instances displaying the widget
instances windows as shown in the following figure.
For more information, see Service.xml.
BTT Web 2.0 provides the service list customization
function, you can define your own service configuration and layout.
BTT Web 2.0 provides following event handlers to handle
the self-defined service:
- collapse
- beforecollapse
- expand
- beforeexpand
- onclick
- beforeonclick
BTT Web 2.0 provides following API to facilitate service list development.
- Function I: Expand the service category nodes on the service list.
Using
API
BTTUtil.Servicelist.expandCategoryNode with a
service category Id parameter, the corresponding service category
node is expanded.
Table 1. Function IInput |
Output |
P1 (service category Id) |
The corresponding service category node is expanded. |
- Function II: Collapse the service category nodes on the service
list.
Using API
BTTUtil.Servicelist.collapseCategoryNode with
a service category Id parameter, the corresponding service category
node is collapsed.
Table 2. Function IIInput |
Output |
P1 (service category Id) |
The corresponding service category node is collapsed. |
- Function III: Expand all the service category nodes on the service
list.
Using API
BTTUtil.Servicelist. expandAllCategoryNodes without
parameters, all the service category nodes are expanded.
Table 3. Function
IIIInput |
Output |
null |
All the service category nodes are expanded. |
- Function IV: Collapse all the service category nodes on the service
list.
Using API
BTTUtil.Servicelist. collapseAllCategoryNodeswithout
parameters, all the service category nodes are collapsed.
Table 4. Function
IVInput |
Output |
null |
All the service category nodes are collapsed. |