Getting Started
with WebSpeed


Setting AppBuilder Preferences For WebSpeed

If you want to run and test the Web objects that you create with WebSpeed, you must specify which WebSpeed Broker you want the AppBuilder to use. You must also specify which browser you want the AppBuilder to use for viewing the Web pages that Web objects generate.

Before you begin to set these AppBuilder preferences, check the following:

Follow these steps to set AppBuilder preferences for WebSpeed application development:

  1. From the AppBuilder main window, choose Options Preferences.
  2. The Preferences dialog box appears.

  3. Select the General tab to view the available options.
  4. You should not have to modify the settings on the General tab in order to complete the tutorial in Creating a WebSpeed Application." It is important, however, that you understand how the Qualify Database Fields with Database Name setting works, as it might be enabled by default.

    If this setting is enabled, WebSpeed prepends references to database fields with the database name when generating SpeedScript code. For example, the Customer.Name field would appear in all WebSpeed-generated SpeedScript code as sports2000.Customer.Name.

    You can disable this setting to prevent WebSpeed from prepending references to database fields with the database name. Unless you use multiple databases, you can disable this setting.

    Choose the Save Settings button to save any changes you make.

  5. Select the WebSpeed tab.
  6. The WebSpeed Preferences dialog appears.

  7. Specify the pathname of the browser that you intend to use during development.
  8. For example, C:\Program Files\Netscape\Communicator\Program\netscape.exe and C:\Program Files\Plus!\Microsoft Internet\iexplore.exe are typical pathnames for Netscape Communicator and Internet Explorer respectively.

  9. Specify the URL for a WebSpeed Broker.
  10. The URL actually specifies the location of the WebSpeed Messenger that connects to the WebSpeed Broker. The WebSpeed Messenger resides in the scripts directory of your WebServer.

    The syntax for specifying the URL is:

    http://host_name[:port]/scripts_dir/messenger/WService=broker_name 
    

    For more information about WebSpeed URLs, see the WebSpeed Developer’s Guide .

  11. Activate the Open new browser window toggle box if you want each Web object to run in a new browser window.
  12. This feature is useful if you want to compare output after making changes to your source code. Otherwise, WebSpeed reuses a single browser window.

    If you are using the Netscape browser, you might want to start new windows when testing Web objects. The Netscape browser cache is not always refreshed, and the results shown in the browser can be stale if you are reusing the same browser window.

  13. Choose the Test button to test the connection to the WebSpeed Broker.
  14. A browser opens displaying either a success or a failure to connect message. With a successful connection, you will also see information about the broker, such as its working directory, the PROPATH settings, and the names of any connected databases.

  15. Choose the Save Settings button to save the Web Setup preferences for future AppBuilder sessions.
  16. Choose OK to close the Preferences dialog box and return to the AppBuilder main window.

Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095