link.add(new Label("qxri", qxri));
item.add(link);
}
});
this.add(new PageLink("createSubSegmentLink", new IPageLink() {
private static final long serialVersionUID = 2192286434779574430L;
public Page getPage() {
return(new CreateSubSegment(AuthorityDetails.this.authority));
}
public Class<?> getPageIdentity() {
return(CreateSubSegment.class);
}
}));
this.add(new PageLink("createAliasSubSegmentLink", new IPageLink() {
private static final long serialVersionUID = -1394803236007989039L;
public Page getPage() {
return(new CreateAliasSubSegment(AuthorityDetails.this.authority));
}
public Class<?> getPageIdentity() {
return(CreateAliasSubSegment.class);
}
}));
this.add(new ListView("subSegments") {
private static final long serialVersionUID = 8793019471745319174L;
@Override
protected void populateItem(ListItem item) {
final SubSegment subSegment = (SubSegment) item.getModelObject();
PageLink link = new PageLink("link", new IPageLink() {
private static final long serialVersionUID = 4182879013901656829L;
public Page getPage() {
return(new SubSegmentDetails(subSegment));
}
public Class<?> getPageIdentity() {
return(SubSegmentDetails.class);
}
});
link.add(new Label("name", subSegment.getName()));
item.add(link);
}
});
this.add(new ListView("childSubSegments") {
private static final long serialVersionUID = 1273612869821409740L;
@Override
protected void populateItem(ListItem item) {
final SubSegment subSegment = (SubSegment) item.getModelObject();
PageLink link = new PageLink("link", new IPageLink() {
private static final long serialVersionUID = -1232152334705755201L;
public Page getPage() {
return(new SubSegmentDetails(subSegment));
}
public Class<?> getPageIdentity() {
return(SubSegmentDetails.class);
}
});
link.add(new Label("name", subSegment.getName()));
item.add(link);
}
});
this.add(new XrdForm("xrdForm"));
this.add(new TemplateForm("templateForm"));
this.add(new AttributesForm("attributesForm"));
this.add(new IndexForm("indexForm"));
this.add(new MountForm("mountForm"));
this.add(new UnmountForm("unmountForm"));
this.add(new DeleteForm("deleteForm"));
this.add(new PageLink("backLink", Index.class));
}