Back Up Next

Step 5: Starting the HTML Server Process on UNIX

Start the server process on UNIX with the command:

$ fglhtmld -f phonebook.Unix.conf

To display system messages, enter the command:

$ fglhtmld -d -f phonebook.Unix.conf

Step 6: Starting the Browser

Start your Web browser, and specify the URL of the Dynamic 4GL application on your machine. For example:

Startup screen

Step 7: Using the Application

Once your browser has started the application, the user can interact with it to perform database operations. In this example, the user can browse through companies as shown here:

Browsing in companies

If there are no more records and the user clicks on the Next Page button, the program generates an error, as shown here:

pub_first_no_more_rows.gif (11933 bytes)

The user can select a company from the list in the previous display, as shown here:

A look at a company

The user can then display all of the company's known contacts:

pub_first_company_contact.gif (9578 bytes)

Selecting one contact from the list displays the following information:

pub_first_contact.gif (9442 bytes)

To edit the record, the user can click Edit. The following screen appears:

pub_first_contact_edit.gif (11132 bytes)

The application automatically generates a dropdown list box when the 4GL code uses any INCLUDE= statement, such as the following:

pub_first_combo.gif (2146 bytes)

Combo boxes are automatically displayed when you use INCLUDE in the screen .per file. This combo box was generated from the following code:

f003 = formonly.ctc_title, include=( 
"", "Dr.", "Miss", "Mr.", "Mrs.", "Ms.", "Prof.");