if(item.canEdit()) {  request.setAttribute("admin_button", new Boolean(true)); }
    private void displayItem(Context context,        HttpServletRequest request,        HttpServletResponse response,        Item item,        String handle)        throws ServletException, IOException, SQLException, AuthorizeException    {        // Tombstone?        if (item.isWithdrawn())        {            JSPManager.showJSP(request, response, "/tombstone.jsp");            return;        }        // Ensure the user has authorisation        AuthorizeManager.authorizeAction(context, item, Constants.READ);        log.info(LogManager.getHeader(context,            "view_item",            "handle=" + handle));        // Get the collections        Collection[] collections = item.getCollections();        // For the breadcrumbs, get the first collection and the first community        // that is in.  FIXME: Not multiple-inclusion friendly--should be        // smarter, context-sensitive        request.setAttribute("dspace.collection", collections[0]);        Community[] comms = collections[0].getCommunities();        request.setAttribute("dspace.community", comms[0]);        /*         * Find all the "parent" communities for the collection         */        request.setAttribute("dspace.communities", getParents(comms[0],true));        // Full or simple display?        boolean displayAll = false;        String modeParam = request.getParameter("mode");        if (modeParam != null && modeParam.equalsIgnoreCase("full"))        {            displayAll = true;        }        // Set attributes and display        request.setAttribute("display.all", new Boolean(displayAll));        request.setAttribute("item", item);        request.setAttribute("collections", collections);        JSPManager.showJSP(request, response, "/display-item.jsp");    }