Override DataTable#newRowItem():
@Override
protected Item<Foo> newRowItem(String id, int index,
final IModel<Foo> model) {
Item<Foo> item = super.newRowItem(id, index, model);
item.add(new AjaxEventBehavior("onclick") {
@Override
protected void onEvent(AjaxRequestTarget
target) {
...
}
});
return item;
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dataview-linkedline-tp2231274p2232746.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]