Exercise 6.3: Testing the changed application

Before you begin, you must complete Exercise 6.2: Changing styles directly.

To test the changed WebFacing application:

  1. Click the X in the Window bar of any editors or views still open at the right upper hand side of the workbench to close them all.

    Now let's check the new style attribute in your application.

  2. Right-click index.jsp in the WebFacing Projects view or Navigator view in the WebFacing perspective.
  3. Click Run > Run on Server on the pop-up menu.
  4. Go to the browser pane and click the Order Entry link.

    You will see the first screen of your application. Notice the different color of the text in the highlighted areas of your Web page. Prompt for the customer. The customer selection screen will show the same changed attributes; remember style changes are applied to all pages as shown.
    New color attribute applied to highlighted style class

    Note:
    If the text is still showing the old colors, most likely the browser has cached the page and you need to close the browser window, and restart the application. This will open a new instance of the browser without cached content.

    You might not have noticed it before, but there is still a command key description at the bottom of the Customer Selection list window.

    You might have guessed it; you will fix this in the next module.

Module recap

You have completed Module 6. Changing the style of the Web user interface. You have learned how to:

In the sample Order Entry application, the Customer Selection list window doesn't follow the CUA(R) rules for command key descriptions. The WebFacing Tool will by default not recognize these command key descriptions and will not delete them. The Order Entry main screen has a command key enabled that has no description associated with it. The WebFacing Tool by default can't handle this situation and puts a default string in the push button label representing this command key. Next you learn how to enable the WebFacing Tool to deal with these common green screen environments. Continue to Module 7. Adding command key rules and labels.