Hi all,

I'm trying to create a table using wickets repeater component ListView. The
problem that i face now is i have search panel where search query will be
entered. When the form is submitted the table needs to be populated with
data received from the Database. The data received from the database is a
list of DataTransferObjects. I need to pass this List of transferObjects to
the ListView. But the listview expects that this object should be passed  at
the time of creation. i.e

add(new ListView("rows", listData){
 public void populateItem(final ListItem item)
        {
                final UserDetails user = (UserDetails)item.getModelObject();
                item.add(new Label("id", user.getId()));
        }
  });

I cannot pass the list of DataTransferObject until the user enters search
criteria and submits the form.
Is there any better way to do this?
-- 
View this message in context: 
http://www.nabble.com/Reg%3A-issue-in-using-ListView-component-tp16442209p16442209.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to