4.5.7 (Sept 2007)

New features (Java)
 
Improved Styling of <cell> and <listItem> components:
<cell> and <listItem> now support all the basic border attributes: borderStyle, borderWidth, borderColor, borderCorner, padding
 
fontSize now supports both pt (point) and px (pixel) units
Previous versions of the Java platform only rendered fontSize in pixels and treated all measurement units as pixels.  fontSize="10px", fontSize="10pt" fontSize="10" all rendered as 10 pixels.  Now, pt will be interpreted as pt, and px will be interpreted as px.  If no unit is specified, the measurement unit will default to pixels.
If fonts now render larger than expected, it is likely that a pt measurement was used in a XAL or XSS file but was rendering as pixels in previous versions.  Be sure to explicitly define all fonts as either px or pt to avoid confusion.
Support for % size was added to the Java client in order to support visual editor
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 StyleXAL SyntaxExample
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 NameColor ValueExample
aqua#00FFFFSome text in aqua.
fuchsia#FF00FFSome text in fuchsia.
lime#00FF00Some text in lime.
maroon#800000Some text in maroon.
navy#000080Some text in navy.
olive#808000Some text in olive.
purple#800080Some text in purple.
silver#C0C0C0Some text in silver.
teal#008080Some 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.

 

DecorationXAL SyntaxExample
overline<label text="overline text" textDecoration="overline"/>overline text
line-through<label text="Line Through Text" textDecoration="line-through"/>Line Through Text

 

Defects Resolved (Java)

 

8714Tooltip displays in the wrong place when the component is at the bottom of the screen
8218712-4661072 712-4739219 onEdit event fires even if the text did not change
8165712-4723340 background attribute of checkBox doesn't work correctly inside a table row
7999712-4634886 OnStateChange event on a table returns incorrect values when selection occurs after selectionMode attribute is changed
7974transparent background of the tree line of <treeTable/> displays scrolling cells behind lockedColumns
7739Add support for editing CDATA cells in tables