SubSegmentImageResource graph = new SubSegmentImageResource(subSegment);
this.add(new Image("graph", graph));
} catch (StoreException ex) {
this.add(new EmptyComponent("graph"));
}
this.add(new Label("subSegmentId"));
this.add(new Label("name"));
this.add(new PageLink("createAliasSubSegmentLink", new IPageLink() {
private static final long serialVersionUID = 4603762735183925968L;
public Page getPage() {
return(new CreateAliasSubSegment(SubSegmentDetails.this.parentAuthority, SubSegmentDetails.this.authority));
}
public Class<?> getPageIdentity() {
return(CreateAliasSubSegment.class);
}
}));
if (this.authority != null) {
this.add(new PageLink("authorityLink", new IPageLink() {
private static final long serialVersionUID = 1L;
public Page getPage() {
return(new AuthorityDetails(SubSegmentDetails.this.authority));
}
public Class<?> getPageIdentity() {
return(SubSegmentDetails.class);
}
}));
} else {
this.add(new EmptyComponent("authorityLink"));
}
if (this.parentAuthority != null) {
this.add(new PageLink("parentAuthorityLink", new IPageLink() {
private static final long serialVersionUID = 1L;
public Page getPage() {
return(new AuthorityDetails(SubSegmentDetails.this.parentAuthority));
}
public Class<?> getPageIdentity() {
return(SubSegmentDetails.class);
}
}));
} else {
this.add(new EmptyComponent("parentAuthorityLink"));
}
this.add(new AttributesForm("attributesForm"));
this.add(new IndexForm("indexForm"));
this.add(new DeleteForm("deleteForm"));
this.add(new PageLink("backLink", Index.class));