-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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?
Asked: 2016-07-18 11:15:30 +0800
Seen: 22 times
Last updated: Jul 18 '16