else
return new Label(wicketId, "Question Not Available");
}
private Component makeXmlQuestionTextComponent(String wicketId, ISIPrompt prompt) {
ContentElement contentElement = prompt.getContentElement();
ContentLoc contentLocObject = contentElement.getContentLocObject();
ISIXmlSection section = contentLocObject.getSection();
ISIXmlComponent xml = new ISIXmlComponent(wicketId,new XmlSectionModel(section), "student" );
String xmlId = contentElement.getXmlId();
xml.setTransformParameter(FilterElements.XPATH, String.format("//dtb:responsegroup[@id='%s']//dtb:prompt", xmlId));
xml.setOutputMarkupId(true);
return xml;
}