Try OpenEdge Now
skip to main content
Customization Guide
Customizing the Business Process Portal : Adding a new shortcut
 

Adding a new shortcut

If you want to add a new shortcut key, then do the following:
1. Open the $webapp\sbm\bpmportal\common\include_menu_static.jsp file.
2. Add a new variable in the list of variables for keyboard shortcuts, above the function handleShortKeys(evt).
3. Assign that variable a value equivalent to the ASCII value of the key combination.
4. Add a new case statement checking for the value of the new variable in the switch statement of function handleShortKeys(evt). Below the case, specify one of the predefined methods to be used if the case statement is evaluated as True.
5. Save the file.