OpenLaszlo 5.0.x is a significant release along the path to Openlaszlo 5.0, which is the upcoming release with the newly redesigned components. OpenLaszlo 5.0.x contains over 160 bug fixes and implements the infrastructure to support the new components. It also provides new features for creating and deploying mobile applications. To see the complete list of fixes, refer to the JIRA 4.9 Release notes for details. Important notes, issues, and improvements can be found in paragraphs that start like this: Release Note:....
We suggest that you refer to the Release Notes for OpenLaszlo 4.8.1, which was the release preceding OpenLaszlo 5.0.x. Release notes for the previous minor release can be found at Release Notes for OpenLaszlo 4.8.0
OpenLaszlo continues to be grateful for the significant contributions by André Bargull, whose numerous bug fixes and exacting techical reviews make OpenLaszlo more robust. We also want to thank Ono Keiji, Jaco Botha, Alexander Pakhunov, Chen Ding, Clint Dickson, Gioacchino Mazzurco, John Olmstead, Justin Hunt, Pasqualino 'Titto' Assini, Raju Bitter, and Rami Ojares, who took the time to isolate and report important bugs for us to address in this release. Thank you! We would also like to thank the entire OpenLaszlo community for your support in so many ways, like submitting bug fixes, helping users on the OpenLaszlo forums, and participating in discussions to help make OpenLaszlo a better platform.
We have a broad specification that we support browsers that obey DOM 2 and CSS 2.1 for DHTML and SWF8, SWF9, and SWF10. We are also actively tracking HTML5 and mobile/touch browsers. These are some of the active operating systems/browser/runtime platforms on which we and the community are using this release:
OS | IE7 | IE 8 | Firefox 3.6 | Safari 4 | Opera 10.62 | Chrome 6 | SWF8 - SWF10 | DHTML |
Windows XP | X | X | X | X | X | X | ||
Windows 7 | X | X | X1 | X | X | |||
Linux 2.6 kernel | X | X | X | |||||
Mac OS X | X | X | X | X | X |
1SWF10 only
Please note that although we have also done some testing with Windows Vista, OpenLaszlo 5.0.x has not been fully qualified against that operating system at this time. Please see Running OpenLaszlo Server on Windows Vista for more information.
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 5.0.x.
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
The 5.0.x release includes over 160 bug fixes since OpenLaszlo 4.8.1; we have provided links to our JIRA bug tracking system where you can view the details:
In some cases, the onfocus event fires too early, causing unexpected input text characters to be selected as it does in this example:
<canvas layout="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 layout="axis: y"> <inputtext text="abcd" width="100" bgcolor="0xcccccc"/> <view bgcolor="0xffcccc"> <inputtext name="field" text="abcd" width="100"> <handler name="onfocus"< parent.cover.setVisible(false); this.setSelection(0, this.getText().length); </handler> <handler name="onblur"> parent.cover.setVisible(true); </handler> </inputtext> <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')
OpenLaszlo 5.0.x Latest trunk@18990 (18990) 2011-03-30T20:29:07Z
Copyright © 2002-2010 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.