I have an abstract class that adds a ListView to the page in the
constructor. In the constructors of my children, I would like to set some of
the rows in the ListView invisible. How do I reach the Wicket Components
that were added to a ListView from outside the Listview.
e.g.
public abstract ListDocumentsForObject{
public ListDocumentsForObject(....) {
ListView documents = new ListView("documents", documentlist) {
@Override
protected void populateItem(ListItem item) {
.....
Link delete = new ConfirmLink("delete") {
public final class ListDocumentsForUser extends ListDocumentsForObject {
public ListDocumentsForUser(...) {
super(...);
setAllDeleteButtonsVisible(false); <-----I want to set all or some
of the delete links as invisible.
Thanks,
Pieter