4.5.7 (Sept 2007)
<cell> and <listItem> now support all the basic border attributes: borderStyle, borderWidth, borderColor, borderCorner, padding
This will be officially supported within the Java client pending further tests.
TestAPI decoupled from debug JAR, now distributed as a plugin
With the release of Platform 4.5.7, the testscript classes used to assist third party test tools such as Quick Test Pro (QTP), have been moved into a plugin jar file called PluginTestScript.jar. The jar is located in the dist\plugins directory under the Platform install location. Decoupling from the debug JAR allows developers the flexibility of testing against either the runtime or debug JARs.
Before 4.5.7, the <ui-test> flag in nexaweb-client.xml must be set to true. By moving the test script classes into their own jar, they can be used against both debug and non-debug jars. The default value for this flag in 4.5.7 is true. If <ui-test> flag is set to false, non-debug and obfuscated Nexaweb client jars are used. While recording in QTP, the test script for a button may look like JavaObject("zq") rather than JavaObject("NButton"). This is because the Nexaweb client class names are scrambled and assigned random strings.
To add the plugin to your project, copy PluginTestScript.jar from [Platform Installation]/dist/plugins to WEB-INF/client/plugins or WEB-INF/client/plugins/pre-loaded. Note: Remove the plugin for production deployments to avoid unnecessary requests for test classes as the application loads.
Improved Schema Validation in Studio 3.5
In scenarios where different namespaces were nested in valid syntax, sometimes validation errors would be thrown, even though the syntax would work at runtime. The schema has been modified to address some of these cases.
Making this change required modifications to the schema files that Studio version 3.0.3 and earlier can not parse correctly. This causes Visual Editor to fail in earlier versions of studio. To work around this incompatibility, navigate to the directory platform 4.5.7 is installed. Rename the schemas directory to schemas457. Copy the schemas directory from a 4.5.6 platform installation into the 4.5.7 platform installation, and Visual Editor will be able to work again.
Additional Border Styles
The enumeration for the borderStyle attributed will be expanded to to include the following styles in the Java client, matching the capabilities of the Ajax client.
- dashed
- dotted
- double
Border Style | XAL Syntax | Example |
dashed | <label text="Dashed Border" borderStyle="dashed" borderWidth="4"/> | Dashed Border |
dotted | <label text="Dotted Border" borderStyle="dotted" borderWidth="4"/> | Dotted Border |
double | <label text="Double Border" borderStyle="double" borderWidth="4"/> | Double Border |
Additional Color Support
The following named colors previously only supported in the Ajax client are now supported in the Java client.
Color Name | Color Value | Example |
aqua | #00FFFF | Some text in aqua. |
fuchsia | #FF00FF | Some text in fuchsia. |
lime | #00FF00 | Some text in lime. |
maroon | #800000 | Some text in maroon. |
navy | #000080 | Some text in navy. |
olive | #808000 | Some text in olive. |
purple | #800080 | Some text in purple. |
silver | #C0C0C0 | Some text in silver. |
teal | #008080 | Some text in teal. |
Additional Text Decorations
Support for the following text decorations are now supported in the Java client, matching the capabilities of the Ajax client.
Decoration | XAL Syntax | Example |
overline | <label text="overline text" textDecoration="overline"/> | overline text |
line-through | <label text="Line Through Text" textDecoration="line-through"/> |
Defects Resolved (Java)
8714 | Tooltip displays in the wrong place when the component is at the bottom of the screen |
8218 | 712-4661072 712-4739219 onEdit event fires even if the text did not change |
8165 | 712-4723340 background attribute of checkBox doesn't work correctly inside a table row |
7999 | 712-4634886 OnStateChange event on a table returns incorrect values when selection occurs after selectionMode attribute is changed |
7974 | transparent background of the tree line of <treeTable/> displays scrolling cells behind lockedColumns |
7739 | Add support for editing CDATA cells in tables |