Extending your WebFacing application with command key actions

You can define customized command keys in your WebFacing application to invoke a Web service, JSP, or html page. These command keys override the existing function keys and can connect to a Web application URI or an external URL. You might have already defined a JSP or service using a Web diagram, in which case, you can use command key actions to invoke that object or service.

For more information about command keys and related WebFacing tasks, see Using Web Settings with your DDS source

To define an overriding action for a command key:
  1. In the WebFacing perspective, right-click your project, select Properties and go to Runtime > Command Key Actions.
  2. Click Add.
  3. In the Command Key field, specify or select a function key (F1 to F24).
  4. In the Action name field, describe the resulting action.
  5. Enter the path of the internal or external service in the URI or URL field.
  6. Specify or select the Target frame. Selecting *NEW targets a new browser window. Selecting *SAME targets the current window. Specifying an existing window name would target that window.
  7. In the Button label field, enter a button label for the service.
  8. Check the Enable only when the command key is active check box to have your button appear selectively according to the related function key. Otherwise, leave the box unchecked to have your button appear on all screens.
  9. Click OK.
  10. Redeploy your WebFacing application.
  11. Restart the server.
Note: The WebFacing Tool does not give warnings if a function key is already in use.

Feedback