public SectionRepeater(String id, Iterable<XmlSection> sections, XmlSection currentSection, SectionIconFactory iconFactory) {
super(id);
for(XmlSection s : sections) {
ISIXmlSection section = (ISIXmlSection) s;
boolean current = section.equals(currentSection);
WebMarkupContainer sectionContainer = new WebMarkupContainer(newChildId());
add(sectionContainer);
BookmarkablePageLink<ISIStandardPage> link = new SectionLinkFactory().linkToPage("sectionLink", section);