public String getIdValue(Protocol object, int index) {
return object.toString();
}
};
IModel<Protocol> protocolModel = model.forProperty("requiredProtocol");
form.add(new DropDownChoice<Protocol>("requiredProtocol", protocolModel, protocols,
renderer).setNullValid(false));
IModel<String> mimeTypeModel = model.forProperty("mimeType");
form.add(new TextField<String>("mimeType", mimeTypeModel));