This is really a small thing, but can cost you a few minutes to figure out! The OpenLaszlo documentation has a few typos. The first I noticed, was the Debug.Write()
instead of Debug.write()
. There are other case mistakes like that. Generally these typos occur in the examples provided. If you see the LZX Reference, the actual method description will have proper method name, but the example at the top may contain wrongly typed method names.
Apart from the Debug.Write, the LzBrowzer.loadURL()
is mentioned as LzBrowzer.LoadURL()
. Now if you are like me, you will simply copy the code from an example and use it in your project. Assuming it would work. And when it doesn’t you are lost why does it not find a method with the name that you specified.
So keep this in mind!
BTW, I have a lot of other tips / tricks / feedback on OpenLaszlo… I am just waiting for Glancer to get over, so that I can write all of it!
Thank you.
Earlier versions of OpenLaszlo were not case sensitive; newer versions are case sensitive. Because of this, programs and examples that used to work sometimes no longer do.
We appreciate all feedback on the documentation, and please feel free to file bugs directly:
http://www.openlaszlo.org/jira/secure/Dashboard.jspa
John Sundman
OpenLaszlo documentation guy
Thanks for the clarification John! Will post them on Jira.