IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Scenario DTD and XML definitions

The Scenario class extends Embedded Panel. It has the following entry in the DTD file:
Table 1. Scenario definition
Line entry in the DTD file Description
<!ELEMENTScenario (ButtonRow|MenuButtonRow)+> A Scenario contains zero or more ButtonRow elements and zero or more MenuButtonRow elements.

A ButtonRow is a row of buttons to directly launch tasks. A row is added below the previous one.

s

A MenuButtonRow is a row of MenuButtons. The first row is added to the right of the first ButtonRow. Subsequent rows are added below the previous one.

A MenuButton is a button for a list of MenuItems, which in turn launch specific tasks. A MenuButton is a button including a list of MenuItems, which in turn launch specific tasks.
<!ATTLIST Scenario
    label CDATA #REQUIRED
    name CDATA #IMPLIED
    hotKey CDATA #IMPLIED>
Attribute list
Table 2. Scenario attributes
Attribute Description
Label Label to be displayed in the notebook page tab (mandatory)
Name Name used by the Desktop to identify this component
HotKey Combination of keys used as a hot key for the Scenario. Pressing this combination of keys when the Scenario label is visible on the Desktop is equivalent to clicking the Scenario label.
The following is an example of an XML definition for a Scenario:
<Scenario label="Agreements" hotKey="CTRL+A">
    <ButtonRow width="340" >
        ..... 
    </ButtonRow>
    <MenuButtonRow width="150" >
        .....
    </MenuButtonRow>
</Scenario>


Feedback