0

zk bandbox different behaviour in ver 9.6.0.1

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

achmadyumna gravatar image achmadyumna
0

updated 2021-09-16 13:56:47 +0800

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 ?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-17 17:36:40 +0800

cor3000 gravatar image cor3000
6168 2 7
ZK Team

thanks for the reproducing example. Works up to version 9.5.1.3. The problem happens since 9.6.0. I simplified it and posted the bug ZK-5019

If you can live with 9.5.1.3 that's the easiest workaround.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

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

Seen: 10 times

Last updated: Sep 17

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