feedback.setOutputMarkupId(true);
add(feedback);
this.metaData = jmetaData;
this.oldMetaData = jmetaData;
Form metaDataForm = new Form("metaDataForm");
FormComponent fc;
fc = new RequiredTextField("name", new PropertyModel(this,
"metaData.name"));
fc.add(StringValidator.minimumLength(2));
metaDataForm.add(fc);
metaDataForm.add(new Label("name-label", new ResourceModel(
"metedataTab.name")));
fc = new RequiredTextField("language", new PropertyModel(this,
"metaData.language"));
fc.add(StringValidator.minimumLength(2));
metaDataForm.add(fc);
metaDataForm.add(new Label("language-label", new ResourceModel(
"metedataTab.language")));
fc = new RequiredTextField("metaValue", new PropertyModel(this,
"metaData.value"));
fc.add(StringValidator.minimumLength(2));
metaDataForm.add(fc);
metaDataForm.add(new Label("value-label", new ResourceModel(
"metedataTab.value")));
metaDataForm.add(new AjaxButton("save", new ResourceModel(
"common.save"), metaDataForm)