IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

WorkingArea DTD and XML definitions

The WorkingArea has the following entry in the DTD file:
Table 1. WorkingArea definition
Line entry in the DTD file Description
<!ELEMENT WorkingArea EMPTY> A WorkingArea does not contain any sub-elements
<!ATTLIST WorkingArea
    name CDATA #FIXED "WorkingArea"
    iconName CDATA #REQUIRED
    defaultIcon CDATA #REQUIRED
    width CDATA "730"
    warningMessageWhenAViewCanNotBeClosed CDATA "ViewErrormessage"
    showPopup (true|false) "true"
    height CDATA "457"
    xCascade CDATA "22"
    color CDATA #IMPLIED
    redGreenBlue CDATA #IMPLIED
    yCascade CDATA "22">
Attribute List
Table 2. WorkingArea attributes
Attribute Description
name Name of the component used by the Desktop for its unique identification. This attribute is fixed, and its value is "WorkingArea". 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 working area.
iconName Name of the file to be used as the background image (mandatory)
defaultIcon Icon used in the frame that is created for the operation panels that are added to the WorkingArea (mandatory)
width Width of the working area in the Desktop
height Height of the working area in the Desktop
warningMessage WhenAViewCan NotBeClosed Message that displays when a view cannot be closed
showPopup Whether the WorkingArea shows a pop-up menu to allow the user to choose different arrangements for the panels in the WorkingArea (tile, cascade, overlapping) or to undo the choice
xCascade Horizontal coordinate of the new window position in the WorkingArea relative to the last panel opened. Used when the visual option mode is "cascade".
yCascade Vertical coordinate of the new window position in the WorkingArea relative to the last panel opened. Used when the visual option mode is "cascade".
color Background color of the WorkingArea, identified by the name of the color
redGreenBlue Background color of the WorkingArea, identified using specified red, green, and blue values in the 0-255 range
The following are examples of XML definitions for a WorkingArea:
<WorkingArea defaultIcon="/images/logo.gif"
iconName="/images/background.gif" 
  redGreenBlue="255,255,206"/>

<WorkingArea defaultIcon="/images/logo.gif"
iconName="/images/background.gif" 
  color="black"/>


Feedback