<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>
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>
<br>
Change 20081010-laszlo-2 by laszlo@T43-L3XEXMW on 2008-10-10 08:20:18
EDT<br>
in /home/laszlo/src/svn/openlaszlo/trunk-bigboss<br>
for
<a href="http://svn.openlaszlo.org/openlaszlo/trunk">
http://svn.openlaszlo.org/openlaszlo/trunk</a><br>
<br>
Summary: SWF9: Datapointer ActionScript errors when using combobox with
datapath<br>
<br>
New Features:<br>
<br>
Bugs Fixed: LPP-7147 - SWF9: Datapointer ActionScript errors when using
combobox with datapath<br>
<br>
Technical Reviewer: promanik<br>
QA Reviewer: henry<br>
Doc Reviewer: (pending)<br>
<br>
Documentation:<br>
<br>
Release Notes:<br>
<br>
Details: There was an issue where basecombobox expected<br>
that a particular argument would always be a<br>
datapointer, but there were many cases in which<br>
it wasn't. So I altered it so that it would
only<br>
call setPointer() if the argument passed was an<br>
instance of a datapointer, to prevent it from<br>
trying (and failing) when it was a string.<br>
<br>
Tests: Run the Amazon demo in SWF9 (and the other<br>
runtimes). Edit one of the credit cards in<br>
payment options. You shouldn't get any kind<br>
of AS error that crashes the app.<br>
<br>
If you want, you could run the testcase from<br>
LPP-7147 in SWF9. There should now be no
errors.<br>
<br>
Also, run the combobox tests and examples -- they<br>
should all still function the same.<br>
<br>
Files:<br>
M lps/components/base/basecombobox.lzx<br>
<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>
</blockquote></body>
</html>