Try OpenEdge Now
skip to main content
Customization Guide
Customizing the Business Process Portal : Modifying an existing shortcut
 

Modifying an existing shortcut

To modify an existing shortcut:
1. If you want to assign an existing shortcut to perform a different action, then modify the requisite case of the switch statement in the function handleShortKeys(evt). It is recommended that you should use the predefined methods defined in the include_menu_static.jsp file for pointing to the URLs.
The following example illustrates how to change the Ctrl+Shift+T key to open the Links page instead of the Task List page.
switch(keyAsciiCode)
{
case SHIFT_CNTR_T:
goToTasks();
break;
2. Replace the goToTasks() method in the above example with the goToLinks() method to open the Links page.
switch(keyAsciiCode)
{
case SHIFT_CNTR_T:
goToLinks();
break;