Bottom of Page | Previous Page | Next Page | Contents

Enabling keyboard support in projects

Users frequently interact with host applications using special keys on the physical keyboard, such as F1, Attn, and Clear. There are two different ways in which the end users of your HATS projects can send keystrokes to the host:

Using the settings on the General tab of the project editor, you can define whether the project displays keypads, even if the tags for the keypads are included in the templates or transformations. You can define a subset of keys to display in the keypads, and whether the keys should appear as buttons or links. You can also add custom keypads or individual keys to your templates and transformations.

Notes:
  1. The default keypads are not defined using HTML tags, so they cannot be viewed in the Design tab of the HTML editor for a transformation.
  2. Custom keypads and individual keys are defined using HTML tags, so they are displayed in the HTML editor.
  3. PF keys on host screens that are transformed using the default transformation are displayed as buttons or links. These keys are displayed separately from the default host keypad.

Refer to General tab for more information about the settings for keyboard support and keypads.

This chapter explains how to define keyboard support in your HATS project and contains tips for documenting keyboard support for your end users.

To use keyboard support in HATS projects, the end user's Web browser must be either Internet Explorer version 5.0 or higher or Netscape version 6.0 or higher. Javascript must be enabled in the Web browser.

Defining keyboard support

To define keyboard support in a HATS project, you need to enable keyboard support in your project, and define the host keypad and the application keypad keys to include. See General tab for information about the project settings for keyboard support and the keypads.

Changing the appearance of the keypads

You can change any of the following items for the keypads:

To change style of a keypad for a specific HATS project, change the cascading style sheet that corresponds to the keypad. In the WebSphere Studio workbench, go to the HATS Project View tab of the HATS Studio and expand the project name. Expand Common > Stylesheets. The default keypad stylesheet is keypad.css.

To modify the keypad, double-click on the keypad.css stylesheet open the editor.

The cascading style sheet defines seven styles:

table.HostKeypad
Host keypad background
table.ApplicationKeypad
Application keypad background
input.HostPFKey
Host keypad PF buttons
input.HostButton
Host keypad buttons
input.ApplicationButton
Application keypad buttons
a.HostKeyLink
Host keypad links
a.ApplicationKeyLink
Application keypad links

Providing documentation for end users

To facilitate use of your HATS project, we recommend that you document the keyboard settings for your end users--either in the application's graphical user interface or in some other easily displayed form (perhaps a link in your template). Your documentation should describe:

Table 1. Key mapping in HATS
Button on button bar Default physical key mapping
F1 - F12 F1 - F12
F13 - F24 Shift + F1 - F12
ENTER Enter
CLEAR Esc
SYSREQ Shift + Esc
ATTN Pause/Break
PAGEUP Page Up
PAGEDN Page Down
PA1 Alt + Delete
PA2 Alt + End
PA3 Alt + Page Down
PRINT Ctrl + P
HELP Ctrl + H
Enable/disable keyboard Ctrl + K
Default Alt + Insert
Refresh Alt + Page Up
Reset Ctrl + S
Disconnect Ctrl + D
View print jobs Ctrl + J
Reverse Ctrl + R
[ Top of Page | Previous Page | Next Page ]