[Laszlo-user] Dynamic scripting

Marco Lettere m.lettere at websynapsis.com
Mon May 19 02:11:46 PDT 2008


Hello everybody,
I would like to now if there's a way (in OL 4) to generate script code
from inside OL applications themselves.
I'm looking for something like a textarea where I can write a javascript
and a button that, when clicked, executes the javascript code contained
in the textarea.
I was actually able to generate a <script> node in my canvas. But I do
not know how to set code inside it. Well I actually do not know if this
is even possible.
Moreover I'm interested in doing the same with constraints (an input
field where I can write a constraint string and a button that, when
clicked, applies the constraint to one attribute of a OL DOM node).
Thank you all,
M.


More information about the Laszlo-user mailing list