[Laszlo-user] datacombobox needs a "setItemDatapath" method

Tim Patsch tpatsch at eio-online.com
Thu Jun 29 18:09:40 EDT 2006


I posted code for the fix in the bug database:

http://www.openlaszlo.org/jira/browse/LPP-2165

setItemDataPath() should point to new path, refresh the control, and select
the first item in the list. Refreshing the control should be a separate
method available in cases where a dataset's content has been dynamically
modified and we want the control to reflect the change.

     <method name="setItemDataPath" args="itemDataPath"><![CDATA[
        this.itemdatapath = itemDataPath;
        this.refresh();
        this.selectItemAt(0);
     ]]></method>

     <method name="refresh"><![CDATA[
         this._teardowncblist();
         this._setupcblist();
     ]]></method>




-----Original Message-----
From: William Krick [mailto:wkrick at eio-online.com]
Sent: Thursday, June 29, 2006 5:25 PM
To: laszlo-user at openlaszlo.org
Subject: Re: [Laszlo-user] datacombobox needs a "setItemDatapath" method


Should this be filed as a bug?


-----Original Message-----
From: William Krick [mailto:wkrick at eio-online.com]
Sent: Tuesday, February 14, 2006 1:08 PM
To: laszlo-user at openlaszlo.org
Subject: [Laszlo-user] datacombobox needs a "setItemDatapath" method


It appears that the new datacombobox is missing a "setItemDatapath" method.

Is this deliberate or just an oversight?
_______________________________________________
Laszlo-user mailing list
Laszlo-user at openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-user


_______________________________________________
Laszlo-user mailing list
Laszlo-user at openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-user


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/377 - Release Date: 6/27/2006

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/377 - Release Date: 6/27/2006



More information about the Laszlo-user mailing list