<html>
<body>
Your check isn't quite right. The argument is a lz.DataNodeMixin, not
lz.datapointer.<br>
As Andre mentioned in LPP-7147, the check is<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(d
is lz.DataNodeMixin){<br><br>
BTW, The use of 'is' instead of 'instanceof' is described here:<br>
<a href="http://wiki.openlaszlo.org/SWF9_Conversion#calling_.27instanceof.27_with_a_null_value_will_throw_runtime_error" eudora="autourl">
http://wiki.openlaszlo.org/SWF9_Conversion#calling_.27instanceof.27_with_a_null_value_will_throw_runtime_error</a>
.<br><br>
<br><br>
<br><br>
<br>
<blockquote type=cite class=cite cite="">NOTE: This is an update for the
Amazon bug from yesterday, which fixes the broader issue.<br>
&nbsp;<br>
Change 20081010-laszlo-2 by laszlo@T43-L3XEXMW on 2008-10-10 08:20:18
EDT<br>
&nbsp;&nbsp;&nbsp; in /home/laszlo/src/svn/openlaszlo/trunk-bigboss<br>
&nbsp;&nbsp;&nbsp; for
<a href="http://svn.openlaszlo.org/openlaszlo/trunk">
http://svn.openlaszlo.org/openlaszlo/trunk</a><br>
&nbsp;<br>
Summary: SWF9: Datapointer ActionScript errors when using combobox with
datapath<br>
&nbsp;<br>
New Features:<br>
&nbsp;<br>
Bugs Fixed: LPP-7147 - SWF9: Datapointer ActionScript errors when using
combobox with datapath<br>
&nbsp;<br>
Technical Reviewer: promanik<br>
QA Reviewer: henry<br>
Doc Reviewer: (pending)<br>
&nbsp;<br>
Documentation:<br>
&nbsp;<br>
Release Notes:<br>
&nbsp;<br>
Details: There was an issue where basecombobox expected<br>
&nbsp;&nbsp;&nbsp; that a particular argument would always be a<br>
&nbsp;&nbsp;&nbsp; datapointer, but there were many cases in which<br>
&nbsp;&nbsp;&nbsp; it wasn't.&nbsp; So I altered it so that it would
only<br>
&nbsp;&nbsp;&nbsp; call setPointer() if the argument passed was an<br>
&nbsp;&nbsp;&nbsp; instance of a datapointer, to prevent it from<br>
&nbsp;&nbsp;&nbsp; trying (and failing) when it was a string.<br>
&nbsp;<br>
Tests: Run the Amazon demo in SWF9 (and the other<br>
&nbsp;&nbsp;&nbsp; runtimes).&nbsp; Edit one of the credit cards in<br>
&nbsp;&nbsp;&nbsp; payment options.&nbsp; You shouldn't get any kind<br>
&nbsp;&nbsp;&nbsp; of AS error that crashes the app.<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; If you want, you could run the testcase from<br>
&nbsp;&nbsp;&nbsp; LPP-7147 in SWF9.&nbsp; There should now be no
errors.<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; Also, run the combobox tests and examples -- they<br>
&nbsp;&nbsp;&nbsp; should all still function the same.<br>
&nbsp;<br>
Files:<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lps/components/base/basecombobox.lzx<br>
&nbsp;<br>
Changeset: <br>
<a href="http://svn.openlaszlo.org/openlaszlo/patches/20081010-laszlo-2.tar">
http://svn.openlaszlo.org/openlaszlo/patches/20081010-laszlo-2.tar</a><br>
&nbsp;</blockquote></body>
</html>