private final WebMarkupContainer container;
private WebMarkupContainer noWorkspacesContainer;
public AdminPanel(String id, String workspace) {
super(id);
setModel(new WorkspaceModel(workspace));
add(container = new WebMarkupContainer("container") {
@Override
public boolean isVisible() {
return AdminPanel.this.getModelObject() != null;