OpenLaszlo 4.6.1 is a bug fix release, containing more than 50 fixes primarily in the area of mouse events, context menus, and text. These fixes resulted from an architectural simplification of the underlying event and text mechanisms, which has the dual effect of both simplifying and stabilizing the DHTML code base. In addition, there were significant data and replication fixes thanks to André Bargull.
OpenLaszlo 4.6.1 also contains two significant improvements from community contributors. Sebastian Wagner extended the output of RPC with Gson as the marshaller for JSON. More details are provided in Bug LPP-8437, including how to write your own marshaller and how to get the Gson Factory to set your custom marshalling options. Raju Bitter added support for rotation in DHTML using FireFox 3.5, and fixed the default rotation origin to be top left or 0% for DHTML. See BUG LPP-8362 for more details.
For those of you who have already upgraded your applications to OpenLaszlo 4.2 or higher, no further work is needed. You should just start using OpenLaszlo 4.6.1.
To migrate your 4.0.X or 4.1.1 applications, we strongly suggest that you refer to this wiki page: Runtime_Differences. This page discusses the changes required by SWF9 and also provides a methodology for upgrading your application. It is very important that you run the automated conversion scripts in the recommended order, should you choose to take advantage of them. To review the changes in incremental releases, please refer to the OpenLaszlo Archive
This release has been fully tested on the following operating systems/browser/runtime platforms:
Please note that although we have also done some testing with Windows Vista, OpenLaszlo 4.6.1 has not been fully qualified against that operating system at this time. Please see Running OpenLaszlo Server on Windows Vista for more information.
The current charting and graphing remain at a beta level, while the new charting and graphing API is out for review - see: http://wiki.openlaszlo.org/Charting_API_Change_Proposal. Please email laszlo-dev@openlaszlo.org with your comments. In addition, SOAP support is still incomplete and would be a welcome task for community involvement. If you are interested in contributing to the project, please send us an email for more information.
For every release, we rely on the OpenLaszlo community to help ensure the quality of the platform release and to determine its future direction. To propose or participate in discussion of new features, see the Wiki. We encourage you to report any problems, and to make suggestions for enhancements, through our bug tracking system. We'd also like to hear from you on the mailing lists and in the forums.
In some cases, the onfucus event fires too early, causing unexpected input text characters to be selected as it does in this example:
<canvas>
<simplelayout axis="y"/>
<inputtext text="abcd" width="100" bgcolor="0xcccccc"/>
<inputtext text="abcd" width="100" bgcolor="0xffcccc" onfocus="this.setSelection(0, 1)"/>
</canvas>
To work around this issue, you can create a cover view that handles initial clicks, as shown here for the above example:
<canvas>
<simplelayout axis="y"/>
<inputtext text="abcd" width="100" bgcolor="0xcccccc"/>
<view bgcolor="0xffcccc">
<inputtext name="field" text="abcd" width="100"
onfocus="parent.cover.setVisible(false); this.setSelection(0, this.getText().length);"
onblur="parent.cover.setVisible(true)"
/>
<view name="cover" width="100%" height="100%"
onclick="LzFocus.setFocus(parent.field)"
/>
</view>
</canvas>
Currently, if you set an attribute value for a data element, the value is stored as it is set. This will no longer be true in future OpenLaszlo releases, where the value will be coerced to a String value. If you need to set non-String values for data elements, you should use the setUserData method as shown in this example where node is an LzDataElement:
node1.setUserData('key1', val1);
assertEquals(val1, node1.getUserData('key1'), 'getUserData key1');
The 4.6.1 release includes over 50 bug fixes since OpenLaszlo 4.5; we have provided links to our JIRA bug tracking system where you can view the details:
We would like to thank the entire OpenLaszlo community for submitting bug fixes and participating in discussions to help make OpenLaszlo a better platform. Special thanks to André Bargull and Raju Bitter for their continued and amazing support of the project. We'd also like to thank the incredible engineering team at G.ho.st, who have worked with us as a sponsor to bring SWF9 and many other improvements to the community. Special recognition is also due to community contributors: Chad Lancour, Rami Ojares, Philip Romanik, and Jason Gratt.
OpenLaszlo 4.6.1 Production branches/4.6@14781 (14781) 2009-09-18T12:18:17Z
Copyright © 2002-2009 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.