Hi all, im new to Wicket, and a bit in java (have experience in other oo languages).

I dont understand the populateItem construction. Who calls it? When?

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

Thanks in advance,
Paulo Sergio.


Reply via email to