[Laszlo-dev] for review, add when="immediate" to script element tag syntax

Henry Minsky henry.minsky at gmail.com
Thu Jan 11 16:01:29 PST 2007


Change 20070111-hqm-0 by hqm at IBM-112E6A12815 on 2007-01-11 18:50:08 EST
    in /cygdrive/c/users/hqm/openlaszlo/branches/legals

Summary: implement when=immediate feature for script element

New Features:

Bugs Fixed:LPP-2688 class definitions in script tag cause compiler error

Technical Reviewer: ptw
QA Reviewer: ben
Doc Reviewer: sundman

Documentation:

<script> tag accepts when="immediate" (or "normal" for default behavior).
With this arg, body of the script is executed immediately as it is lexically
encountered, it is not queued up into the instantiator.

Release Notes:

Details:


This fixes the bug, and also allows arbitrary amounts of code instead
of the 64Kbyte limit of Flash functions. (No function in the script block
can indiviudally be longer
than 64k of compiled byte code though)


Tests:

test case is in the bug report LPP-2688

Files:
M      WEB-INF/lps/schema/lzx.rnc
M
WEB-INF/lps/server/src/org/openlaszlo/compiler/ScriptElementCompiler.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070111-hqm-0.tar

-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070111/98524093/attachment.html


More information about the Laszlo-dev mailing list