//get all the html under the prompt element
promptText = new TransformResult(next).getString();
}
}
}
RatePanel ratePanel = new RatePanel(wicketId, loc, ratingId, promptText);
ratePanel.add(new AttributeRemover("id"));
ratePanel.add(new AttributeRemover("type"));
return ratePanel;
} else if (wicketId.startsWith("teacherBar_")) {
WebMarkupContainer teacherBar = new WebMarkupContainer(wicketId);
teacherBar.setVisible(!cwmSessionService.getUser().getRole().equals(Role.STUDENT) && !inGlossary);