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:
There are two keypads in HATS Studio that you can add to your project:
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.
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.
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.
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:
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:
| 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 |
| 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 |