"struts_action", "/document_library/edit_file_entry");
deleteURL.setParameter(Constants.CMD, Constants.MOVE_TO_TRASH);
deleteURL.setParameter("redirect", _currentURL);
deleteURL.setParameter(
"fileEntryId", String.valueOf(_fileEntry.getFileEntryId()));
<BUG>menuItems.add(
new DeleteMenuItem(
DLMenuItems.MENU_ITEM_ID_DELETE, deleteURL.toString(),
true));
}</BUG>
}

"struts_action", "/document_library/edit_file_entry");
cancelCheckoutURL.setParameter(
Constants.CMD, Constants.CANCEL_CHECKOUT);
cancelCheckoutURL.setParameter("redirect", _currentURL);
cancelCheckoutURL.setParameter(
"fileEntryId", String.valueOf(_fileEntry.getFileEntryId()));
URLMenuItem urlMenuItem = new URLMenuItem();
urlMenuItem.setIconCssClass("icon-remove");
urlMenuItem.setId(DLMenuItems.MENU_ITEM_ID_CANCEL_CHECKOUT);
urlMenuItem.setMessage("cancel-checkout[document]");
urlMenuItem.setURL(cancelCheckoutURL.toString());
menuItems.add(urlMenuItem);
