Phil Wallach

I follow where my mind leads …

Phil Wallach header image 4

Entries from August 2007

OpenLaszlo: how you get there is more important than where you are going

August 29th, 2007 · No Comments

WHAT BROKE
This is the old version of the method.  It finds some specific views and scans their datapaths, to see if any entries match.  This version mostly worked fine, but occassionally it would fail, and finding the cause of the failure was proving difficult.

    <method name=”check_ok” args=”from, to”>
        <![CDATA[
        for (var i = 1; true; […]

[Read more →]

Tags: OpenLaszlo

OpenLaszlo: saving LzLoader

August 22nd, 2007 · No Comments

One thing that tripped me up early on is a know bug in the OpenLaszlo loader.  Basically, if a view is destroyed before the resource completes loading, then the loader chokes and nothing more is heard from it. 
Unsurprisingly, this is very very bad.
The bug is documented here:
    bug: destroy before resource is loaded leads to […]

[Read more →]

Tags: OpenLaszlo

OpenLaszlo: who’s watching the loader?

August 21st, 2007 · No Comments

Being able to see when LzLoader is active is very useful when an application is under development. The following code displays “Loading” whenever the loader is active.
The display is text. The text has an ‘id’ of ‘loading’ and ‘visibility’ set to false.
<text id=”loading” x=”10″ y=”10″ visible=”false”
    fontsize=”12″ fgcolor=”white” fontstyle=”bold”>
  Loading
</text>
The display is controlled in an […]

[Read more →]

Tags: OpenLaszlo

OpenLaszlo: source code examples

August 15th, 2007 · 1 Comment

This is a short by-no-means-exhaustive list of freely available OpenLaszlo source code, for all those out there who like to steal learn from other people’s work.
OpenLaszlo “official” demos
Here you will find a range of interactive demos showing some of what OpenLaszlo makes possible.
www
OpenLaszlo Incubator Project
The Incubator directory contains components and other code that have been […]

[Read more →]

Tags: OpenLaszlo