Enabling Your JADE Application for HTML Thin Client Access

You can enable your JADE application for HTML thin client access when you first define your application or you can access the Define Application dialog at any time to enable HTML thin client access or to maintain your application preferences.

For more details about the Define Application dialog, see "Defining Applications", in Chapter 3 of the JADE Development Environment User’s Guide.

To access the Web Options sheet of the Define Application dialog

  1. Perform one of the following actions to open an Application Browser window.

    • Click the Browse Applications button from the browse toolbar

    • Select the Applications command from the Browse menu, or press Ctrl+L

  2. From the Application menu of the Application Browser, select the Add command to add a new application to your current schema or the Change command to enable HTML thin client access or to maintain the preferences of your current application.

    The Application sheet of the Define Application dialog is then displayed.

  3. Select the Web-Enabled or Web-Enabled Non-GUI option in the Application Type combo box, to specify that the application can be accessed from the Web using an HTML thin client. The Web Options sheet is then enabled.

    The start-up form defined for the application is the first Web page that is displayed when the application is invoked from a Web browser. Application features such as Multiple Document Interface (MDI) forms and three-dimensional controls are ignored for HTML-enabled applications.

    In addition, as applications of type Web-Enabled Non-GUI do not display the Web Application Monitor window, this type of application can be run in the background.

  4. Click the tab of the Web Options sheet.

The Web Options sheet is then displayed. Now that you have enabled your application for HTML thin clients, you can specify your access options.

Use the currentSession system variable in a JADE method to determine if a transaction is from another workstation or from an HTML thin client. The currentSession system variable is set to null if there is no current Web session.

For details, see "System Variables", in Chapter 1 of the JADE Developer’s Reference. See also Chapter 12 of the JADE Development Environment User’s Guide, "Adding and Maintaining HTML Documents".