form.add(new Label("description", descriptionModel));
form.add(new TextField("name", new Model(role.getAuthority())).setRequired(true).setEnabled(hasRoleStore));
form.add(new DropDownChoice("parent", new ParentRoleModel(role), new ParentRolesModel(role))
.setNullValid(true).setEnabled(hasRoleStore));
form.add(new PropertyEditorFormComponent("properties").setEnabled(hasRoleStore));
form.add(new SubmitLink("save") {
@Override
public void onSubmit() {
try {