When you want to trace something to the Debugger in OpenLaszlo, you can call the Debug.write() method. Often, you’ll want to write the value of something and a label, so that you can identify that output in the debugger, something like: Debug.write(“subviews: ” + canvas.subviews); However, it’s better to to get into a habit of [...]
Entries from August 2008
Use Commas to Separate Arguments to Debug.write()
August 21st, 2008 · 1 Comment
Tags: LZX Tips
OpenLaszlo Performance Tip: Datacombobox not combobox
August 20th, 2008 · 3 Comments
One component that is used, probably more often that it should, in Rich Internet Applications (RIAs) is the combobox. The reason it’s so frequent is because because the developers who write RIAs usually came from a background of writing HTML applications. You should use datacombobox instead. A bit of history: [...]
Tags: OpenLaszlo Performance Tips
Google Static Maps and localhost
August 17th, 2008 · No Comments
Google Maps has a non-JavaScript mapping feature called Google Static Maps that generates a static map on the server, based on parameters you provide on the URL. The static maps are just a single GIF. You can’t zoom or pan them, but you can specify the location, zoom level and even markers. It’s handy for [...]
Tags: Google Maps