}
};
add(addAttrForm);
addAttrForm.add(new Label("nameLabel", new ResourceModel(
"common.name")));
TextField userAttrNameField = new RequiredTextField("userAttrName",
new PropertyModel(this, "userAttrName"));
addAttrForm.add(userAttrNameField);
addAttrForm.add(new Label("valueLabel", new ResourceModel(
"common.value")));
TextField userAttrValueField = new RequiredTextField(
"userAttrValue", new PropertyModel(this, "userAttrValue"));
addAttrForm.add(userAttrValueField);
addAttrForm.add(new Button("addAttr", new ResourceModel(
"common.attribute.add")));
}