0

how to let the listbox load all item

asked 2010-05-11 21:16:23 +0800

yuzexu_zk gravatar image yuzexu_zk
240 2

i meet a problem
i have a listbox

and total have 30 page each page have 50 row

and i have a render class
class MyRenderer implements ListitemRenderer
{
public void onRender(Listitem item , Object obj) throws Exception
{
item.setLabel("test");
item.setValue(obj);
}
}
for(Iterator iter = listbox.getSelectedItems().iterator();iter.hasNext();)
{
final Listitem item = (Listitem) iter.next();

System.out.println(item.getValue());
//the item value have some is Null becasuse the item is not load
//how i to let the listbox load the all item not load some item when i scoll the listbox
}

delete flag offensive retag edit
Be the first one to reply this discussion!
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: 2010-05-11 21:16:23 +0800

Seen: 219 times

Last updated: May 11 '10

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