Version 8.2.7
 —  Code Generation  —

What's New in Version 8.2.4

This section describes the new features for the Code Generation and Natural Construct components in version 8.2.4. The following topics are covered:


Prerequisites

This version of Code Generation requires Natural Business Services version 5.3.1 SP 11.

Top of page

General Enhancements

This section describes the new features for both Code Generation components. The following topics are covered:

Generate an Ajax Page for an Object-Browse or Object-Maint Subprogram

You can now generate an Ajax page for any subprogram generated by the following wizards:

For information, see Generating an Ajax Page for Generated Subprograms.

Top of page

Enhancements for the Natural Construct Component

This section describes the new features for the Natural Construct component. The following topics are covered:

Create Reusable Dialogs and Pages for the Client Generation Framework

The Natural Construct client generation framework now supports reusable dialogs and pages. These user interface (UI) files eliminate the duplication of UI code when more than one wizard uses the same dialog or page, as well as reduce future maintenance requirements. You can now create dialog (.cstmdldg) and page (.cstmdlpg) UI code as separate files that can be included in multiple model UI files. This allows changes to the dialog or page UI code to be automatically reflected in any client generation wizard that includes the dialog or page UI file. For information, see Reusable Dialog and Page UI Files.

Set Up Server Calls

Using the client generation framework, you can now set values for fields in the parameter data area (PDA) when a wizard panel is left or entered. You can also set values or derive other data from the server when a button (cstDeriveServerButton GUI control) is selected on a wizard panel. For information, see Set Up a Server Call.

Set New Natural Construct Preferences

The Construct Preferences window now allows you to set preferences to cache the results of the server call by the clear subprogram when starting a client generation wizard. This allows the wizard to start faster on subsequent calls to the same clear subprogram. For information, see Set Construct Preferences.

You can also use the new Installation preference window to control whether the Natural server is checked for a Natural Construct installation at startup or whether UI functions are visible or not (for example, context menu actions and Natural Server view nodes), based on the availability of Natural Construct on the Natural server. For information, see Set Installation Preferences.

Documentation and Online Help Available for the Object-Browse-Subp and Object-Maint-Subp Wizards

Documentation and online help is now available for all panels used by the Object-Browse-Subp and Object-Maint-Subp wizards.

Changes to the Object-Browse-Select-Subp Wizard

When you select Next on the first specification panel for the Object-Browse-Select-Subp wizard and the name of the object-browse subprogram has changed, a call is now made to retrieve the appropriate methods based on the new subprogram. In addition, the second specification panel now contains a button that will issue this call to refresh the list of methods.

Note:
Natural Business Services version 5.3.1 SP 11 is required for this functionality.

New Attribute for cstTable Control

A new attribute is available for the cstTable control in the client generation framework. This attribute, called editOnly, limits users to the edit action for rows in a table; they cannot add or delete rows. For information, see cstTable.

Top of page