IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

TaskArea DTD and XML definitions

The TaskArea extends EmbeddedPanel. It has the following entry in the DTD file:
Table 1. TaskArea definition
Line entry in the DTD file Description
<!ELEMENT TaskArea EMPTY> A TaskArea does not contain any sub-elements. The tasks are dynamically added by the system at runtime as part of the business process.
<!ATTLIST TaskArea
name CDATA #FIXED "TaskArea"
    width CDATA "489"
    height CDATA "30"
    hSpace CDATA "2"
    vSpace CDATA "2"
    taskWidth CDATA "80"
    taskHeight CDATA "25"
    baseHotKey CDATA "ALT"
    substituteHotKey CDATA "SHIFT"
    maxNumberOfTasks CDATA "5"
    errorMessageWhenClassNotExist CDATA "ClassErrorMessage"
    warningMessageWhenMaxNumberOfTasksReached CDATA "WarningMaxTasks">
Attribute list
Table 2. TaskArea attributes
Attribute Description
name Name of the component used by the Desktop for its unique identification. This attribute is fixed, and its value is "TaskArea". A new class can be implemented to substitute or extend the one provided, but the name must not be changed, to allow the Desktop to identify the component as the task area.
width Width of the whole task area
height Height of the whole task area
hSpace Horizontal space between the opened task buttons
vSpace Vertical space between the opened task buttons and the top level of the TaskArea
taskWidth Width of the opened task buttons
taskHeight Height of the opened task buttons
baseHotKey The part of the key combination that can be used to switch between active tasks. When a task is active, it is represented by a button in the TaskArea. The key combination to switch between active tasks is "baseHotKey +1" to switch to the first task in the TaskArea, "baseHotKey + 2" to switch to the second task, and so on.
substituteHotKey The second option to use as the hot key when baseHotKey functions are defined for all possible baseHotkey + n combinations. (For example, if there are ten tasks, and since the baseHotKey + 10 is not a valid combination, the hotkey of the tenth task could be "substituteHotKey +1").
maxNumberOfTasks Maximum number of tasks that can be opened at a time. Once the limit has been reached, the system will not open additional operation panels.
errorMessageWhen ClassNotExist Text that is shown when the user tries to open a task and the related class cannot be found
warningMessageWhen MaxNumberOfTasksReached Text that is shown when the maximum number of tasks has been reached and the user tries to open another task
The following is an example of an XML definition for a TaskArea:
<TaskArea width="400" height="30" hSpace="2" vSpace="2" taskWidth="80" 
  taskHeight="25" maxNumberOfTasks="5" />


Feedback