Have you tried "onselect" instead of "onselected"?
<method event="onselect">
On 8/2/07, taocore <[EMAIL PROTECTED]> 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
>