Author: jcrowley
Date: 2007-09-06 13:45:02 -0700 (Thu, 06 Sep 2007)
New Revision: 6390
Modified:
openlaszlo/branches/wafflecone/test/lztest/lztest-stableborderlayout.lzx
Log:
Change 20070830-jcrowley-I by [EMAIL PROTECTED] on 2007-08-30 06:54:07 EDT
in /Users/jcrowley/src/svn/openlaszlo/waffle
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Fix lztest-stableborderlayout.lzx
New Features:
Bugs Fixed: LPP-4374 - Fix lztest-stableborderlayout.lzx
Technical Reviewer: ben
QA Reviewer: frisco
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: reset() needed to be called on the stableborderlayout
before update() was called. reset() was absent,
resulting in some goofy and incorrect placement.
Tests: Run /test/lztest/lztest-stableborderlayout.lzx modified
and unmodified; note that the modified version does
not fail the test.
Modified:
openlaszlo/branches/wafflecone/test/lztest/lztest-stableborderlayout.lzx
===================================================================
--- openlaszlo/branches/wafflecone/test/lztest/lztest-stableborderlayout.lzx
2007-09-06 20:26:43 UTC (rev 6389)
+++ openlaszlo/branches/wafflecone/test/lztest/lztest-stableborderlayout.lzx
2007-09-06 20:45:02 UTC (rev 6390)
@@ -25,12 +25,13 @@
<method name="toggleAxis">
sl1.setAttribute ('axis', (sl1.axis == "x") ? "y" : "x");
<!-- The update call should be inside the object -->
+ sl1.reset();
sl1.update();
</method>
<stableborderlayout id="sl1" axis="x">
- <method event="onaxis" args="axis">
+ <handler name="onaxis" args="axis">
n_onaxis++;
- </method>
+ </handler>
</stableborderlayout>
<view name="v1" bgcolor="blue" height="30" width="50"/>
<view name="v2" bgcolor="red" height="30" width="50"/>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins