That should work fine in 1.3.3.
I thought this was what you were looking for:
public class SomeColumnClass extends AbstractColumn {
public void populateItem( Item cellItem, String componentId, IModel
rowModel ) {
MarkupContainer rowItem = cellItem.getParent().getParent();
rowItem.add( new SomeBehaviour() );
}
}
?
Lorenzo Bolzani wrote:
2009/7/15 Iain Reddick <[email protected]>:
cellItem.getParent().getParent() will get the row component, but it's not a
very clean solution.
Hi, thanks for the replies.
I'm using wicket 1.3.3 and this method was not yet present. I'm not
upgrading due to some problems with ajax tests and WicketTester.
Anyway I cannot see many other options, other than using a ListView
instead of a table or the one described above.
Bye
Lorenzo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]