The prefix for the command key description in the SLTCUST record format is
Fkey=.
This doesn't follow the CUA rules normally used in iSeries user
interfaces, so the WebFacing conversion does not recognize this pattern and
does not hide it. You have to add this prefix pattern to the WebFacing
Tool conversion rules in the WebFacing Properties dialog.
To add a new command key description pattern to WebFacing conversion rules:
The Properties for wflabxx dialog opens.
The right pane will switch to Command Key Recognition Patterns.
The additional rule is now part of this style.
Next, you will test this feature by converting the DDS member and running the application.
Reconverting DDS members
Since these are conversion properties you are changing and not style properties as in the previous module, you will need to reconvert all members that contain command key descriptions with this pattern. In the sample Order Entry application this is only member SLTCUSTD.
To reconvert DDS members:
After the conversion, take a look at the change.
Testing the applied new rule
Let's see how the new rule is applied to your WebFacing application.
To test the applied new rule:
You will see the first screen of the sample application.
The Customer Selection list window opens.
Now that you know how to change the command key recognition patterns in the
WebFacing Tool, you can add text to frequently used command keys that
don't have a text description in the DDS source.
Back on the Order Entry panel, you can see that the push button for F12 does not have a description. Its label shows F12. You will learn how to fix the label in the next exercise.
You have started the Properties dialog, selected Command Key Recognition Patterns, added a new command key rule and reconverted the DDS members, tested the applied rule, and now you are ready to begin Exercise 7.2: Adding command key button labels.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.