The Uniface 10 documentation is regularly updated to reflect new features, enhancements, bug fixes, and user feedback.
There are no documentation updates in this release.
Doc Maintenance: In Main U-Bar, suggestions are not offered for property names, labels, lines, or area frames.
In the Main U-Bar, object code suggestions for
prop: are provided to help you construct a valid URL. Once you have chosen one of these codes, no further suggestions are offered for object or property names.
For more information, see Smart Suggestions and Filtering
Feature: Smart filtering for snippets
You can now filter the contents of the Snippets tab in the Resource Browser to find the snippet you want to insert. For example, you can filter snippets intended for a target objector or module type, or find a snippet by module name or snippet description.
Issue 31967: It is now possible to set (or reset) the value of $instancemod
You can use the set and reset ProcScript commands to set the value of $instancemod to
0. For more information, see $instancemod.
Feature: Japanese language setups now support Reiwa era.
The language setup for Japan has been updated with the new Japanese Era Reiwa (令和).
For more information, see Japanese Era Date Formats.
Feature: HTTP must be explicitly enabled for mobile apps.
A new property, Enable HTTP, has been added to the Mobile Application Shell settings. By default, new mobile apps are now built with HTTPS for encrypted communication. If for some reason, you need to use HTTP, you must explicitly enable it.
For more information, see Application Shells for Mobile Apps.
Issue 31981: Updated images in mobile resource bundle.
New images are now provided in the Resource Bundle for Uniface and obsolete ones have been removed. You can replace these images with your own, as long as they conform to the image names and the standards required for the target devices.
For more information, see Resource Bundle for Mobile Apps.
Feature: Disable line numbering in Script Editor.
To turn line numbering off, you can edit the
SourceEdit widget definition in usys.ini by adding the option
gutters=fold. This can improve performance when a code container has a large amount of code.
For more information, see Configure Indentation and Line Numbering in the Script Editor.
Doc Maintenance: Updated the versions of Cordova plug-ins tested with Previewer App
For a list of the most recently tested versions of Cordova plug-ins, see Uniface Previewer App.
Feature: Smart suggestions when defining relationships.
The Model tab of the Resource Browser in the Entity Editor now provides smart suggestions. This enables you to find the One entity you want to use when defining relationships between entities.
Feature: New ProcScript function for setting client-side locale in DSPs.
A new ProcScript function, $webinfo("Locale"), enables you to set the client-side locale in a DSP application. This is used to apply locale-based formatting to Date, Datetime, Time data instead of using the default English locale (
"en"). For more information, see $webinfo("Locale").
Feature: Smart suggestions when adding entities and fields to the component structure.
The Model tab of the Resource Browser has been re-designed and now features a U-Bar that supports smart suggestions, so you can search for modeled entities based on their name. You can also browse for a selected entity's fields, sub-entities, or parent entity.
Issue 31888: The OnChange trigger may be fired more than once for the Datepicker widget.
Depending on the browser, the OnChange trigger may be fired more than once for the Datepicker widget or any native HTML5 controls for Time, Datetime-Local, Week, Month, and so on that are mapped to the Uniface physical widget
htmlinput with html:type set to
date. For more information, see webtrigger OnChange.
Doc Maintenance: Display Formats for Date and Time Data in DSPs
In Dynamic Server Pages, display formats for date and time may not be applied as expected, depending on the data type of the field, the HTML control to which the field's widget resolves, and the browser used.
The documentation has been expanded to clarify this behavior. For more information, see Display Formats for Date and Time in Dynamic Server Pages.
Feature: Format error when data type and
htmlinput type are incompatible
If the HTML control generated by the DSP
htmlinput widget is unable to correctly format the data for its input type, a format error results and an exception is displayed in the web browser's console. For more information on supported data types and how data is formatted for each
htmlinput type, see htmlinput.
Documentation: Restructured widget documentation
The widget documentation has been restructured to emphasize physical widgets rather than logical widgets.
In the past, the documentation discussed widgets in terms of logical widgets because these are visible in development environment when you select the widget type for a field.
However, logical widgets are just user-defined configurations for physical widgets. Uniface supplies a default set of logical widgets but you can define your own, in which case the emphasis on Uniface's own logical widgets is not helpful. It is the physical widgets that provide the functionality and determine the properties a widget can have.
For more information, see following topics and their sub-topics:
Issue 31930: Improved consistency in numeric handling provided by $number
A new version of the ICU (International Components for Unicode) libraries was integrated in 9.7.05 and 10.3.01. This resulted in some missing functionality and errors in numeric handling performed by $number. These have been corrected, and some inconsistencies reduced.
The improved consistency results in the following differences compared with Uniface 9.7.04:
- Trailing minus sign is now supported for basic numeric strings and scientific notation.
- Bracketed numbers are now seen as negative, also when using NLS locales.
- All white space is now ignored. In previous versions, white spaces were ignored in bracketed numbers, caused an error when outside the brackets, but caused truncation in scientific notation.
- All digit group separators are now ignored. In previous versions, they were ignored in basic numbers but caused truncation in scientific notation.
- NLS locales are now applied to scientific notation. This affects the interpretation of the number because the decimal point and digit group separators are NLS locale-specific.
For more information, see $number.
Feature: DLM 9.2 supports IPv6.
A new version of the DLM client is delivered in this patch. For more information, consult the DLM Installation Guide.
When using DLM 9.2, it is possible to specify the IP protocol version to use when connecting to the License Service. It is possible to do this at an application level using the
$LICENSE_OPTIONS assignment setting. For more information, see $LICENSE_OPTIONS.
Feature: Write Script Worksheet has been enhanced.
The Write Script worksheet of the Component Editor has been enhanced:
- You can now edit objects in the Structure of the Write Script worksheet. For example, you can rename or delete fields.
- Except for Form and Report components, you can also add objects using the new Template and Model tabs in the Resource Browser, and you can use standard editing functionality such as insert, copy, and paste.
- It is easier to split the Script Editor into two views, making it consistent with other Write Script worksheets.
Doc maintenance: Clarified contents of export files for migration.
If you want to maintain Uniface 9 entry inheritance behavior, it is strongly recommended that you use a single export file for the whole application, or at least combine application model and related components into a single file. For more information, see Migrate the Application.
Issue 31928: The sql92npw connector option is now supported for MSS connector U5.2.
For MSS connector U5.2, the sql92npw option was initially deprecated and the default set to
on. It is now possible to set this option
off, but the default remains
on for MSS U5.2 and higher. For MSS U5.1 and lower, the default is
off. For more information, see sql92npw.
Issue 31931: webload now reports an error if the submitted data value or format of a Date, Time, and DateTime field is incorrect.
In Dynamic Server Pages, when a Date, Time, or DateTime field is used, data in the field is validated on the server to ensure it has a correct value and format.
For more information, see getError().
Feature: You can now dynamically change the the Position property of popup forms using $windowproperties.
Issue 31899: When a Date, Time, or DateTime field is used with a DSP EditBox widget, the NLS locale is ignored in display formats.
In Dynamic Server Pages, when a Date, Time, or DateTime field is used with an EditBox widget, NLS formats are applied but the NLS locale is ignored, meaning that only English text is displayed in formats that call for text. This is also the case when a browser does not support the
Datepicker, and an HTML
text input control is used instead.
Doc Maintenance: Updated example for client-side data storage using Dynamic Server Pages.
For more information, see Client-Side Data Storage.