if (!ISIApplication.get().isUseAuthoredResponseType()) {
// set all the response types to the default per application configuration here
metadata = addMetadata(metadata);
}
IModel<Prompt> mPrompt = responseService.getOrCreatePrompt(PromptType.RESPONSEAREA, loc, metadata.getId(), metadata.getCollection());
return new LockingResponseButtons(wicketId, mPrompt, metadata, loc, cwmSessionService.getUserModel());
} else if (wicketId.startsWith("ratePanel_")) {
ContentLoc loc = new ContentLoc(getModel().getObject());
String promptText = null;
String ratingId = elt.getAttribute("id");