[Laszlo-checkins] r8707 - openlaszlo/trunk/lps/components/incubator/rich-text/test
bargull@openlaszlo.org
bargull at openlaszlo.org
Wed Apr 16 08:43:33 PDT 2008
Author: bargull
Date: 2008-04-16 08:43:30 -0700 (Wed, 16 Apr 2008)
New Revision: 8707
Modified:
openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx
Log:
Change 20080411-bargull-8 by bargull at dell--p4--2-53 on 2008-04-11 00:55:09
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: update testcase in incubator
New Features:
Bugs Fixed: LPP-4469 "Update testcase (Was: Datasets inside a state don't work)"
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Why poking at that testcase? - because I got interesting warnings!
1st:
WARNING: Undefined font {methodName: $lzc$bind_font$$incubator$2Flzcombobox_class$2Elzx_178_48_$m1435, ...}
2nd:
DEBUG @incubator/lzcombobox_class.lzx#133: Bad constraint dependencies {..., methodName: $lzc$bind_resource$$incubator$2Flzcombobox_class$2Elzx_133_66_$m1406, ...} on .lft
DEBUG @incubator/lzcombobox_class.lzx#134: Bad constraint dependencies {..., methodName: $lzc$bind_resource$$incubator$2Flzcombobox_class$2Elzx_134_85_$m1410, ...} on .mid
DEBUG @incubator/lzcombobox_class.lzx#135: Bad constraint dependencies {..., methodName: $lzc$bind_resource$$incubator$2Flzcombobox_class$2Elzx_135_67_$m1415, ...} on .rgt
The actual changes aren't really interesting...
Tests:
Modified: openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx 2008-04-16 13:58:11 UTC (rev 8706)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx 2008-04-16 15:43:30 UTC (rev 8707)
@@ -20,6 +20,9 @@
<clr value="0x00CC00"/>
</dataset>
+ <whitestyle name="combobox_style" />
+ <whitestyle name="comboboxitem_style" />
+
<view y="200">
<simplelayout axis="x" spacing="10" />
<text>hell</text>
@@ -36,10 +39,6 @@
this.setValue(0x339966, true);
this.csq.setColor(0x339966);
</method>
-
- <method name="construct" args="parent, args">
- super.construct(parent, args);
- </method>
<!--- When the user selects an item from the combo box,
create an object representing just the change in format.
@@ -96,21 +95,20 @@
<state name="odelay" id="odelay">
<text>allan</text>
<lzcombobox id="allan"
- width="48" itemclassname="colorswatch" itemdatapath="sweetcolors:/clr"
+ width="48" itemclassname="colorswatch" itemdatapath="local:parent.sweetcolors:/clr"
focusable="false">
</lzcombobox>
</state>
<text>beijing</text>
<lzcombobox id="beijing"
- width="48" itemclassname="colorswatch" itemdatapath="glitzcolors:/clr"
+ width="48" itemclassname="colorswatch" itemdatapath="local:parent.glitzcolors:/clr"
focusable="false">
<!--- @keywords private
apply state for late instantiation of local data -->
- <method name="construct" args="parent, args">
- super.construct(parent, args);
- laterState.apply();
- </method>
+ <handler name="onconstruct" >
+ this.parent.laterState.apply();
+ </handler>
</lzcombobox>
</view>
More information about the Laszlo-checkins
mailing list