-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am new comer in ZK.
I have big problem, i can not show my db to Listbox
this is my controller:
public void onClick$searchButton1(Event event) throws InterruptedException {
List<SearchEj> persons = new ArrayList<SearchEj>();
SearchEjServices ejService = new SearchEjServices(null, null);
List<SearchEj> ls = ejService.findAll();
personModelList.addAll(ls);
theList.setModel(personModelList);
}
Zul:
<listbox id="theList" mold="paging"
pageSize="30" vflex="true" >
<listhead sizable="true">
<listheader label="ATM ID" sort="auto" />
<listheader label="Type" sort="auto" />
<listheader label="File Name" sort="auto" />
<listheader label="File Path" sort="auto" />
</listhead>
<listitem >
<listcell label="${each.sATMID}"></listcell>
<listcell label="${each.iTaskType}"></listcell>
<listcell label="${each.sEJFileName}"></listcell>
<listcell label="${each.sEJFilePath}"></listcell>
</listitem>
</listbox>
How can i fix it :( please help me
Please check here
Asked: 2013-01-10 09:43:48 +0800
Seen: 261 times
Last updated: Jan 15 '13