[Laszlo-user] maybe bug of modaldialog
Vandana Gunwani
vandana.gunwani at gmail.com
Fri Aug 3 07:44:56 PDT 2007
Have you tried "onselect" instead of "onselected"?
<method event="onselect">
On 8/2/07, taocore <taocore at laszlomail.com> wrote:
>
> Consider the code below:
>
> <canvas debug="true">
> <dataset name="ccc">
> <item value="abc">abc</item>
> <item value="def">def</item>
> </dataset>
>
> <class name="xxx" extends="modaldialog"
> closeable="true" title="d">
>
> <datacombobox name="cb" itemdatapath="ccc:/item" selectfirst="false">
> <method event="onselected">
> classroot.ooo();
> </method>
> </datacombobox>
> <!--
> <button>ok
> <method event="onclick">
> classroot.ooo();
> </method>
> </button>
> -->
> <method name="ooo">
> var d = new modaldialog();
> d.setAttribute("closeable", true);
> d.open();
> </method>
> </class>
>
> <button>set
> <handler name="onclick">
> var x = new xxx();
> x.open();
> </handler>
> </button>
> </canvas>
>
> The modaldialog opened by onselected event can not be operated, but if
> opened by onclick event of button, it works well.
> Is this a bug?
>
> taocore
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070803/6acbbd70/attachment-0001.html
More information about the Laszlo-user
mailing list