Hi Johan,
But i really dont think that <Person> in link is redundant why is it?
the point was, that in this case Link simply doesn't need to have given a model at all, since you can access the surrounding final vars (you can access the item in onClick):
populateItem(final ListItem<Person> item) { item.add(new Link("edit") { public void onClick() { setResponsePage(new EditPage(item.getModelObject())); } });
What else could you do/access in Link what is not possible with this approach? Regards, --- Jan. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]