menuActions(REMOVE_ACTION, separator.getText() ,new SeparatorDefinitionBean());
target.addComponent(ajaxPanel);
}
};
deleteLink.add(new Label("deleteLabel",new ResourceModel("common.delete")));
deleteLink.add(new JavascriptEventConfirmation("onclick",new ResourceModel("action.delete.confirm")));
listItem.add(deleteLink);
}
});
Form separtorForm = new Form("sepForm");
add(separtorForm);