4.2.5 (Sep 2006)

4.2.5 (Sep 2006)

onBeforeActiveLost event enhanced
Now an onBeforeActiveLost event has a "cause" property which will contain the name of the underlying event that caused active focus to transfer to another component (e.g."onMouseDown").  In addition, the event will include all the parameters that would have been on that cause event.

Table Sorting of Heavyweight components is improved
Four defects were resolved to facilitate using heavyweight components in tables and preserving the sorting functionality.  Heavyweight components will now sort based on their text attribute value, the default sort value for table cells. Heavyweight components do not support the sortValue attribute that cells support which allows cells to sort on a different value than the displayed text.

Rich Text enhanced to facilitate editing of rich text and dynamic application of rich styles to text
Numerous defects were resolved around textArea and richText.  These fixes make it possible for developers to implement some WYSIWYG-like features to editable fields in their applications.

Defects Resolved

Id

Description

4797

712-1537552 - heavyweight components don't sort properly in a table

5356

712-1993766 Add text alignment attributes for comboBox and listBox

5725

712-2185730 - A focus is not set at the time of application starting.

5907

712-2531791 client UI freezes waiting for com.nexaweb.client.svg.Text.class in MSJVM

5959

712-2584506:  setting focus is required prior to re-setting scroll bar position

5992

712-2535150 extend onBeforeActiveLost to provide access to key modifiers

5995

712-2589462 extraneous HTML tags are generated when errorJavaScriptDisabled.jsp is included in index.jsp

6016

712-2524335 Multi-part responses sometimes cause the response to be committed prematurely

6121

712-2560372 - The class used as an array is requested to server by MSJVM

6126

712-2678606 - PrintService.printElement (using FOP) doesn't wrap cell contents well in the generated PDF output

6150

712-2718277 - Cannot tab out of textField/editable comboBox after modalAlert has fired

6212

PDF printing fails IE for some versions of acrobat reader

6221

712-2726847 - style tags applied to a textArea do not appear in the text output

6222

712-2726847 - Clicking on a blank textArea causes a Null Pointer Exception

6223

712-2726847 - applying just font color for a textArea's selected text which has overlapping styles does not work

6228

712-2726847 - Font styles dynamically applied render properly in the textArea but are not reflected in the UIDOM

6229

712-2726847 - current style applied is not being picked up for textual component (richText attr is set to true)

6231

Documentation - textSelectionPolicy attribute schema values are different than the possible values

6247

input text show up in wrong locations with "richText" set to "true"

6249

textArea selectedStyle is incorrectly reported on text selection

6250

keyboard shortcuts in textArea with "richText" set to "true" may cause exception

6251

UIDOM incorrectly represents nested styles in rich text 

6254

Table sort throws exception when sortType is set to number and cell has not text.

6267

Table: Sorting heavyweight components with dataType="number" fails

6271

table: with sort 'ascending' there is no caret ^ in the column head to indicate ascending

6275

Rich Text: applying style to selected text incorrectly affects some text which is not selected

Special Notes

5356 - 712-1993766 Add text alignment attributes for comboBox and listBox

  • comboBox changes: alignHorizontal and alignVertical were added as attributes.

  • listBox changes: alignHorizontal was added to align all the listitems for the listbox.  ListItem already had its own alignHorizontal which will overide the setting of the listBox.   For example, if the listBox was set to alignHorizontal="right" and one listItem was set to alignHorizontal="center", then all the listItmes but the one with alignHorizontal="center" would be right aligned, while the one with alignHorizontal="center" specified will be center aligned.

5907 - 712-2531791 client UI freezes waiting for com.nexaweb.client.svg.Text.class in MSJVM

Sometimes using a Microsoft JVM, the client will freeze while waiting for the server to send the class com.nexaweb.client.svg.Text.  This class file is contained within the NexawebClient-OnDemand.jar file on the server.  The Server's dynamic classloader loads classes out of this jar as the client needs them.  However, in this case, the client JVM is not working correctly.  A successful workaround has been to make a NexawebClient-OnDemand.cab, and include it in the pre-loaded client classpath in the nexaweb-client.xml file.  The fix for this defect is including NexawebClient-OnDemand.cab as part of the platform distribution.

<client-classpath> <pre-loaded-in-applet-def> <archive name="NexawebClient-OnDemand.cab" cab="true" path="/WEB-INF/Nexaweb/client/lib/NexawebClient-OnDemand.cab"/> </pre-loaded-in-applet-def> </client-classpath>

6126
Previously, the width of a table was divided equally among all table columns in the generated PDF.  Now tables columns should render in the PDF at their preferred width which will result in better word wrapping behavior when printing tables to PDF.