0

please help - how to bind data to Listbox use iterator in GenericForwardComposer ??????

asked 2013-01-10 09:43:48 +0800

zerocold gravatar image zerocold
128 1

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

delete flag offensive retag edit

31 Answers

Sort by ยป oldest newest most voted
0

answered 2013-01-10 12:33:12 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Please check here

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

RSS

Stats

Asked: 2013-01-10 09:43:48 +0800

Seen: 261 times

Last updated: Jan 15 '13

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