boolean hasContent = false;
content.openTABLE(layout.getCSS(CSS.CSSContentFrameListing));
for (int iNode = 0; iNode < list.size(); iNode++) {
DatabaseElementNode element = list.get(iNode);
if (versionParameter.matches(element)) {
boolean active = element.getTimestamp().isCurrent();
content.openTR();
content.openTD(layout.getCSS(CSS.CSSContentFrameListing));
String target = getNodeLink(element, versionParameter);
if (element.getTimestamp().isCurrent()) {
content.openTABLE(layout.getCSS(CSS.CSSContentFrameActive));
} else {
content.openTABLE(layout.getCSS(CSS.CSSContentFrameInactive));
}
content.openTR();
if (layout.getLabelAlignment().isTopAlign()) {
if (active) {
content.openTD(layout.getCSS(CSS.CSSContentTopLabelActive));
content.link(target, layout.getLabel(element, versionParameter), layout.getCSS(CSS.CSSContentLabelActive));
} else {
content.openTD(layout.getCSS(CSS.CSSContentTopLabelInactive));
content.link(target, layout.getLabel(element, versionParameter), layout.getCSS(CSS.CSSContentLabelInactive));
}
if (element.hasAnnotation()) {
addAnnotationIndicator(content);
}
content.closeTD();
content.closeTR();
content.openTR();
} else if (layout.getLabelAlignment().isLeftAlign()) {
if (active) {
content.openTD(layout.getCSS(CSS.CSSContentLeftLabelActive));
content.link(target, layout.getLabel(element, versionParameter), layout.getCSS(CSS.CSSContentLabelActive));
} else {
content.openTD(layout.getCSS(CSS.CSSContentLeftLabelInactive));
content.link(target, layout.getLabel(element, versionParameter), layout.getCSS(CSS.CSSContentLabelInactive));
}
if (element.hasAnnotation()) {
addAnnotationIndicator(content);
}
content.closeTD();
}
content.openTD(layout.getCSS(CSS.CSSContentValue));