Enabling 4GL mode in an existing page

You change an existing page in your Web target to 4GL mode by opening the page in the HTML editor and selecting a check box in the Page Properties dialog box. Some of the pages of the Page Properties dialog box are available only to Web pages for which you select the 4GL mode. After you select the 4GL mode check box, you can add other 4GL properties to the page and access the server-side event model in the integrated Script editor.

Table 9-3: Property pages of the Page Properties dialog box

On this page

Specify this

Page

Presentation details for the page.

Destination

A self-link, or a link to a target page, including parameters and parameter bindings for the target page. Available to 4GL pages only.

Parameters

Page parameters for the current page and default values for those parameters, if any. You cannot enter default values for parameters on a non-4GL page.

Variables

Variables that your page will use. Available to 4GL pages only.

EAServer

Variables that represent EAServer components. Available to 4GL pages only.

Errors

Type of error reporting the page uses. Available to 4GL pages only.

JSP Directives

Add directives (page, include, or taglib) to your page. Available in JSP targets only.

Inline Styles

Style properties for the page.

Advanced

Additional attributes for the page (some user interface properties, such as a target page link, are also listed here).

NotePost-conversion manipulation If you change an existing page to 4GL mode, you must manually remove any existing FORM tags and you must make sure that each control on the page has a unique name. If you want to take advantage of 4GL functionality with a control you added before changing the page to 4GL mode, you must select the Server Side Scriptable check box on the control property sheet (or add the PSSERVERSCRIPTABLE attribute for the corresponding INPUT or OBJECT tag in Source view).

StepsTo enable 4GL mode in an existing page:

  1. Open the page in the HTML editor.

  2. Right-click in the page, then select Page Properties from the pop-up menu.

  3. On the Page tab of the Page Properties dialog box, select the Enable 4GL Web Server Side Event Model check box.

    When you select the check box, the 4GL property pages of the Page Properties dialog box are enabled.

  4. (Optional) Specify properties for the 4GL page on the newly enabled pages of the Page Properties dialog box.