[Laszlo-dev] For Review: Change 20080505-ptw-S Summary: Make handler trampoline work in swf9

Max Carlson max at openlaszlo.org
Mon May 5 18:50:43 PDT 2008


Approved!

P T Withington wrote:
> [This is a revision of my previous change, backing out the bit about 
> making toString public.  That has been moved to LPP-5934, which can be 
> addressed at our leisure.  I made a work-around for LzMessage in swf9 so 
> that it's toString method works.]
> 
> Change 20080505-ptw-S by ptw at dueling-banjos.local on 2008-05-05 19:44:57 
> EDT
>     in /Users/ptw/OpenLaszlo/ringding-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: Make handler trampoline work in swf9
> 
> Bugs Fixed:
> LPP-5818 'Warn when methods registered for events aren't expecting 
> exactly one argument from sendEvent()'
> 
> Technical Reviewer: hminsky (pending)
> QA Reviewer: max (pending)
> 
> Details:
>     LzFormatter: Type and default args for swf9, work around switch
>     verifier error (must have break on final case).  Work-around
>     LPP-5934 for now for LzMessage in swf9.
> 
> Tests:
>     This now runs in swf9, demonstrating that the wrapper to handle
>     the missing argument is being installed.
> 
>     <canvas>
>       <simplelayout />
>       <text name="output" clickable="true" text="Click Me!"/>
>       <method name="handleMe">
>         output.format("Clicked!");
>       </method>
>       <handler name="onclick" reference="output" method="handleMe" />
>     </canvas>
> 
> Files:
> M      WEB-INF/lps/lfc/compiler/LzFormatter.lzs
> 
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080505-ptw-S.tar

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list