Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

hotkeys not registered when JSPX page is opened



HotFix-868 was implemented on CFS6.5 for a customer (in an earlier release).

The customer has now requested this is implemented on FS 6.8.

Error Messages

Not Applicable

Steps to Reproduce

Not Applicable

Root Cause

Accessing the menu item using the hotkeys like Alt+A, Alt+Q etc is not registered when the JSPX page is opened. This issue occurs because; in the JSPX there is no implementation to capture the keyboard event handler to the specific window.


The original hotfix on FS 6.5 was HotFix-868. The hotfix delivered for FS 6.8 was HotFix883. It addresses the above issue as follows:
  • Added a new keyboardAccess.js file. This js file calls the setKbdHook() funtion which is implemented in the The setKbdHook() will capture the keyboard event handler to a specific window. The js file also contains function that will call the unregisterAllHotKeys() function to unregister all the hotkeys for the specified window.
  • Include the keyboardAccess.js within the JSPX files mentioned below in the content section.  The js file is called using the script tag as shown below:
<script type="text/javascript"
  • Including the keyboardAccess.js in the processFooter.jspx will eliminate the need to add the script tag in those the JSPX files that calls the processFooter.jspx. If the JSPX file does not call the processFooter.jspx, include the keyboardAccess.js in those JSPX pages. 

Published February 9, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us