ISIXmlSection currentSection = ((ISIXmlSection) mSection.getObject()); // May be itself
SectionStatus currentSectionStatus = sectionService.getSectionStatus(mTargetUser.getObject(), currentSection);
// Page Number Repeater
RepeatingView pageRepeater = new RepeatingView("pageRepeater");
int pageNumDisplay = ISIApplication.get().getStudentContent().getLabelIndex(ISIXmlSection.SectionType.PAGE, currentSection.firstPage());
for(ISIXmlSection page = currentSection.firstPage(); page != null; page = page.getNext(), pageNumDisplay++) {
WebMarkupContainer pageLinkContainer = new WebMarkupContainer(pageRepeater.newChildId());
pageRepeater.add(pageLinkContainer);