public WOComponent deleteObjectAction() {
ConfirmPageInterface nextPage = (ConfirmPageInterface)D2W.factory().pageForConfigurationNamed((String)valueForBinding("confirmDeleteConfigurationName"), session());
nextPage.setConfirmDelegate(new ERDDeletionDelegate(object(), dataSource(), context().page()));
nextPage.setCancelDelegate(new ERDPageDelegate(context().page()));
D2WPage d2wPage = ((D2WPage)nextPage);
String message = ERXLocalizer.currentLocalizer().localizedTemplateStringForKeyWithObject("ERDTrashcan.confirmDeletionMessage", d2wContext());
nextPage.setMessage(message);
d2wPage.setObject(object());
return (WOComponent) nextPage;
}