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:
- In the WebFacing perspective, right-click your project, select Properties and
go to .
- Click Add.
- In the Command Key field, specify or select a function key
(F1 to F24).
- In the Action name field, describe the resulting
action.
- Enter the path of the internal or external service in the URI
or URL field.
- 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.
- In the Button label field, enter a button
label for the service.
- 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.
- Click OK.
- Redeploy your WebFacing application.
- Restart the server.
Note: The WebFacing Tool does not give warnings if a function key
is already in use.