}
// reset the previous value
valueModel.setObject(null);
ParameterType pt = (ParameterType) typeChoice.getModelObject();
if (pt == ParameterType.TEXT) {
// data as plain text
Fragment f = new Fragment("editor", "text", this);
DropDownChoice mimeChoice = new DropDownChoice("mime", new PropertyModel(
getDefaultModel(), "mime"), mimeTypes);