Yeah, I don't really like exposing ready outside of the LFC. It should be a private protocol. But, we can clean that up when we have a better solution...

On 2008-03-25, at 06:34 EDT, André Bargull wrote:

basecomponent.lzx - Ensure events have listeners before calling sendEvent()
So we want to expose the "ready" flag to classes/components outside of the LFC? Beforehand it was restricted to the LFC, I guess because it is mainly a _temporary_ (?) workaround to improve application performance, as noted by Tucker (cc-ed) on Thu, 19 Jul 2007:
And I realize what you really want is sendEvent to be a macro or inlined...

Change 20080324-maxcarlson-5 by [EMAIL PROTECTED] on 2008-03-24 17:07:47 PDT
    in /Users/maxcarlson/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Update Amazon demo for new AWS version, speed up calendar

New Features:

Bugs Fixed: LPP-5667 - Update Amazon demo with new API

Technical Reviewer: promanik
QA Reviewer: mkratt
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LaszloView.lzs - Remove deprecated getAttribute() call.

basescrollbar.lzx - Fix deprecated setVisible() calls.

basecomponent.lzx - Ensure events have listeners before calling sendEvent()

basecombobox.lzx - Fix deprecated setVisible() calls.

shoppinglist.lzx - Update datapaths to use AWS 4 response style.

recommendation.lzx - Update datapaths, requests to use AWS 4 response style.

amazon.lzx - Use a single base URL that contains the API key. Update datapaths to use AWS 4 response style. Fix deprecated setVisible() calls.

classlib.lzx - Fix deprecated setVisible() calls.

day.lzx - Halve calendar startup time by deferring scrollbar instantiation until the day is expanded.

photocollection.lzx - Fix bad classname lookup

clipboardinterior.lzx - Fix bad classname lookup.


Tests: Amazon and calendar run as before. lzpixmobile won't compile on TOT due to another bug.

Files:
M      WEB-INF/lps/lfc/views/LaszloView.lzs
M      lps/components/base/basescrollbar.lzx
M      lps/components/base/basecomponent.lzx
M      lps/components/base/basecombobox.lzx
M      demos/amazon/shoppinglist.lzx
M      demos/amazon/recommendation.lzx
M      demos/amazon/amazon.lzx
M      demos/amazon/classlib.lzx
M      demos/calendar/day.lzx
M      demos/lzpixmobile/classes/photocollection.lzx
M      demos/lzpixmobile/classes/clipboardinterior.lzx

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20080324-maxcarlson-5.tar



Reply via email to