}
if (field.getField() instanceof ModelChoiceField) {
ModelChoiceField modelChoiceField = (ModelChoiceField) field.getField();
Class model = modelChoiceField.getModel();
Promptable p = (Promptable)model.getAnnotation(Promptable.class);
if (p == null) {
LogFactory.getLog(JQuerySelectWidget.class).error("Unsupported class " + model.getCanonicalName() );
return "<!-- Unsupported class " + model.getCanonicalName() + " -->";
}
//////