container.addChild(new HtmlText(" " + getSeparator() + " "));
}
HtmlComponent component = null;
if (getLinkFormat() != null) {
HtmlLink link = new HtmlLink();
link.setModuleRelative(isModuleRelative());
link.setContextRelative(isContextRelative());
link.setUrl(RenderUtils.getFormattedProperties(getLinkFormat(), tag));
link.setBody(getText(tag));
component = link;
} else {
component = getText(tag);
}
container.addChild(component);
i++;
}
}
if (getShowAllUrl() != null) {
HtmlLink link = new HtmlLink();
link.setModuleRelative(isModuleRelative());
link.setContextRelative(isContextRelative());
link.setUrl(getShowAllUrl());
link.setBody(new HtmlText(RenderUtils.getResourceString("RENDERER_RESOURCES", "renderers.show.all")));
container.addChild(new HtmlText(" " + getSeparator() + " "));
container.addChild(link);
}
return container;
}