Adelia Web and Ajax
Integrating Ajax (also known as Web 2.0) makes Adelia Web Studio applications more responsive. It is now possible to update just part of a web page, rather than having to refresh the whole page, as was previously the case.
In the following example, clicking the Add to basket button increases the number of products in the basket without reloading the complete page.
Adelia Web: MENU object
- The Menu graphical object lets you work with two categories of menu:
- Horizontal or vertical menu bars (including accordion menus),
- Context-sensitive menus associated with graphical objects.
- These menus can be fully defined at the layout design stage. It is also possible to dynamically add new menu options by programming.
The KLBADEL environment (an export of which is included on the Adelia Studio v11 CD-ROM) contains some sample menus.
Unicode support and Adelia Studio
It is now possible to generate Visual Adelia, Adelia Web and Adelia Mobile programs in Unicode mode so that all alphanumeric data is handled in Unicode (UCS-2) encoding.
You can also define Unicode (UCS-2) database fields.
The ability to work in Unicode is particularly useful for applications that handle data in multiple languages (especially languages with different code pages).
Support for this type of generation means that generated applications can now work with DBCS languages such as Chinese and Japanese.
Lastly, generating Visual Adelia applications in Unicode gives users a graphical interface that complies with the theme configured on their workstation (e.g, the Vista theme on a Windows Vista computer or the XP theme on a Windows XP machine).
CDM/LDM comparator
This extension to the 4GL source comparator can be used to compare two conceptual entities, two relationships, two logical entities or two data types in either the same or two different environments, to check whether the objects are identical and where applicable identify the differences between them.
It is also possible to compare the complete CDM and/or LDM between two environments.
Error display
In Visual Adelia applications, errors managed by the PREPARE_MSG instruction (without *BOX) can now be displayed directly in the window, next to the box concerned by the error.
Adelia iSeries language
- The REPLACE_SSTRING instruction that replaces the content of a substring has been added.
- The &NUM_TO_ALPHA and &ALPHA_TO_NUM functions have been enhanced: The integer part of the numerical value no longer needs to be between 231-1 and -231 .
Visual and Web language
- The NUM_BIN_8 type has been added, to allow 8-byte integers to be handled.
- The REPLACE_SSTRING instruction that replaces the content of a substring has been added.
- The OBJECT_GROUP instruction has been added. This instruction defines a group of graphic objects, to allow the values of their properties to be modified globally.
- There is a new way to call programs on the fly:
- CALL &PGM_VAR *DYN_PARAM (ParametersVariables), which allows all the program parameters to be set in a variable.
- New VaToolbx functions:
- VaToolBxSendMailSMTP lets you send email messages using the SMTP protocol.
- VaToolBxFindFirst , VaToolBxFindNext and VaToolBxFindClose let you retrieve the names of files in a directory.
- VaToolBxCreateDirectory and VatoolBxRemoveDirectory respectively create and delete a directory.
- VaToolBxDeleteFile, VaToolBxCopyFile and VaToolBxMoveFile respectively delete, copy and move a file.
- VaToolBxGetFileTime retrieves the date on which a file was last modified.
- VaToolBxGetCurrentDirectory and VaToolBxSetCurrentDirectory can be used to retrieve and set the current directory.
- VaToolBxGetEnv and VaToolBxPutEnv let you retrieve and change the value of an environment variable.
- Enhanced XML instructions:
- XML_OPEN opens an XML document contained in an alphanumeric variable.
- XML_GET_VAL , XML_GET_VAL , XML_DELETE_VAL and XML_LOAD_LST let you retrieve, create or delete the values of attribute names in an alphanumeric variable .
- Enhanced &NUM_TO_ALPHA and &ALPHA_TO_NUM functions:
- The integer part of the numerical value no longer needs to be between 231-1 et -231 .
Other improvements
- Visual Adelia Layout Manager : It is now possible to modify a property in multiple objects simultaneously.
- LIST Visual object : the ERASE_SORT_INDICATORS method has been added, to let you clear a list's column heading sort indicators.
- 4GL editor : A search filter applicable to the value of the constants in the " Repository: constant dictionary " box has been added.
- Adelia Mobile : Middleware connection is now available in http (and https) mode.
- Correction environment : When a correction is validated, the development environment or a related correction environment can now be selected automatically.
- Installation manager : It is now possible to create Visual Adelia installations with an integrated runtime. The runtime will be installed at the same time as the application .
- Translation manager : When working with languages that use a different code page to the development machine, it is no longer necessary to change the computer's code page in order to enter the translated constants (or import them via the gtradd utility). All Unicode UCS-2 compatible languages are now supported for Visual Adelia, Adelia Web and Adelia Mobile programs .
- CDM:
- Reopening a graph that has already been opened by a developer now causes it to be displayed in Read Only mode.
- It is now possible to select the Hold (correction manager) option directly from an object selected in the graph.
- iSeries, Visual, Web and Mobile generators : The version number (including the PTF and Fix number) of the Adelia product used to produce the object is now recorded in generated programs. In addition, with Visual Adelia programs generated on a Windows platform, the program's description and Adelia name are also recorded in the file's properties, together with details of the generation parameters. In the case of Adelia Web and Java applications, these details can also be viewed via an Adelia utility.
- Adelia Studio : The new About box, which can be opened from the Help menu in Adelia applications, shows the version, PTF and Fix numbers of your Adelia Studio product. This box also provides access to Adelia Studio's main new features, and lets you contact the Hotline by email; a document containing full details of your software setup is automatically attached to your message.