Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
Web Objects : Using Web object examples
 

Using Web object examples

Before you can run examples, you must have a WebSpeed development environment installed and configured. See OpenEdge Getting Started: WebSpeed Essentials for information about setting up WebSpeed.
To view or run the example Web objects:
1. Make a working copy of install-path/src/web/examples.
If you make a working copy of the examples, you can restore them if you accidentally overwrite or delete them.
2. Start the AppBuilder.
3. Choose Tools > Database Connections and connect to a working copy of the Sports2000 database.
The Sports2000 database is a sample OpenEdge database installed in your installation directory. To run the Web object examples described in this chapter, you should make a working copy of Sports2000 and then start a database server for it.
4. Choose Options > Preferences, click on the WebSpeed tab, and specify your Web browser and your broker URL.
5. Choose Tools > WebTools and then select File Tools from the left frame of the browser window.
6. From File Tools, navigate to your working copy of the examples directory that you created in Step 1.
You will see the example Web objects in a file list. You can view, compile, or run them using the utilities in File Tools.
If you want to edit the examples, open them by selectingFile > Open from the AppBuilder main menu. Then navigate to the directory that contains your working copy of the examples. Be sure to edit a working copy of an example and not the original.
Templates for the various Web object types are available when you choose File > New from the AppBuilder main menu.
In addition, you can view sample WebSpeed applications. Each sample application is composed of several Web objects. The sample applications are available from WebTools help. From the AppBuilder, choose Tools > WebTools and then select Help. See OpenEdge Getting Started: WebSpeed Essentials for more information about WebSpeed sample applications.
* Web object URLs