[Laszlo-user] constraints and method-calls
Elliot Winard
enw at laszlosystems.com
Fri Mar 7 09:50:40 PST 2008
Oops. Itchy trigger finger.
I'm refactoring a chunk of LZX code to make it less declarative and LZXy
and more programmatic and ECMAScripty.
I was going to ask about the mechanics of dependency functions but I
decided to just change the code I'm working on to *not* use functions
wherever possible.
Basically, I turned stuff like this -
<text name="mytext"
text="${ LzBrowser.xmlEscape( parent.forminput.getText()
) }" />
- into this -
<text name="mytext"
text="${ LzBrowser.xmlEscape( parent.forminput.text) }" />
- and then replaced the constraint with methods & delegates & altogether.
Thx,
-e
Elliot Winard wrote:
> I'm refactoring a chunk of declarative LZX code so it's
>
>
>
>
>
More information about the Laszlo-user
mailing list