Revision history [back]

click to hide/show revision 1
initial version

asked 2021-09-16 13:52:04 +0800

achmadyumna gravatar image achmadyumna

zk bandbox different behaviour in ver 9.6.0.1

Hi,

I try to upgrade may application from zk 8.6.0.2 to 9.6.0.1 version, but bandbbox/bandpopup has different behaviour. This is my zul :

<vbox> <bandbox id="parent"> <bandpopup> <vbox>

<bandbox id="bd">
    <bandpopup>
        <vbox>
            <hbox>
                Search
                <textbox />

<button label="test"/> </hbox> <listbox width="200px" onselect="bd.value=self.selectedItem.label; bd.close();"> <listhead> <listheader label="Name"/> <listheader label="Description"/> </listhead> <listitem> <listcell label="John"/> <listcell label="CEO"/> </listitem> <listitem> <listcell label="Joe"/> <listcell label="Engineer"/> </listitem> <listitem> <listcell label="Mary"/> <listcell label="Supervisor"/> </listitem> </listbox> </vbox> </bandpopup> </bandbox> </vbox> </bandpopup> </bandbox> </vbox>

If you select listbox row in child bandpopup or click test button, parent bandpopup will automatically close. This does not happen in ver 8.6.0.2.

Is that bug or normal behaviour? any workaround ?

zk bandbox different behaviour in ver 9.6.0.1

Hi,

I try to upgrade may application from zk 8.6.0.2 to 9.6.0.1 version, but bandbbox/bandpopup has different behaviour. This is my zul :

<vbox>
  <bandbox id="parent">
<bandpopup>
<vbox>

<vbox>

    <bandbox id="bd">
     <bandpopup>
         <vbox>
             <hbox>
                 Search
                 <textbox />

<button label="test"/> </hbox> <listbox width="200px" onselect="bd.value=self.selectedItem.label; width="200px" onSelect="bd.value=self.selectedItem.label; bd.close();"> <listhead> <listheader label="Name"/> label="Name" /> <listheader label="Description"/> label="Description" /> </listhead> <listitem> <listcell label="John"/> label="John" /> <listcell label="CEO"/> label="CEO" /> </listitem> <listitem> <listcell label="Joe"/> label="Joe" /> <listcell label="Engineer"/> label="Engineer" /> </listitem> <listitem> <listcell label="Mary"/> label="Mary" /> <listcell label="Supervisor"/> label="Supervisor" /> </listitem> </listbox> </vbox> </bandpopup> </bandbox> </vbox> </bandpopup> </bandbox> </vbox>

</vbox>

If you select listbox row in child bandpopup or click test button, parent bandpopup will automatically close. This does not happen in ver 8.6.0.2.

Is that bug or normal behaviour? any workaround ?

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More