0

How to wire combobox inside listcell?

asked 2016-07-18 11:15:30 +0800

alpinthor gravatar image alpinthor
1

this is my parent.zul

...<include src="/zul/list.zul" width="100%" height="100%" hflex="min" id="composerDEPO"/>...

this is my list.zul

...<listbox id="listAnalisaDeposito" mold="paging" pageSize="10"
        width="100%">
        <actionListhead enableSign="false">
            <listheader label="${labels.field.investasi.bank.name}" align="center" hflex="min" />
        </actionListhead>
        <template name="model">
            <actionListitem value="${each}">
                <listcell style="text-align:left" id="tesCell">
                    <vbox>
                        <combobox inplace="true" id="bankNameList" value="${each.bankDeposito.kodeBank}">
                            <template name="model">
                                <comboitem value="${each.value}" label="${each.label}" />
                            </template>
                        </combobox>
                    </vbox>

                </listcell>
            </actionListitem>
        </template>
    </listbox>...

this is my controller.java

@Wire("#composerDEPO #bankNameList")
Combobox bankNameList;

the #composerDEPO is include id of list.zul on parent.zul, if the bankNameList is moved outside the listbox, the bankNameList combobox can be wired, but if the bankNameList combobox inside the listcell like in the code it won't wired.

So how to wire combobox from inside a listcell?

delete flag offensive retag edit
Be the first one to answer this question!
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: 2016-07-18 11:15:30 +0800

Seen: 22 times

Last updated: Jul 18 '16

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