request.setAttribute("metadataFields", metadataFields);
    private void showEditForm(Context context, HttpServletRequest request,            HttpServletResponse response, Item item) throws ServletException,            IOException, SQLException, AuthorizeException    {        if ( request.getParameter("cc_license_url") != null )        {        	// set or replace existing CC license        	CreativeCommons.setLicense( context, item,                   request.getParameter("cc_license_url") );        	context.commit();        }          // Get the handle, if any        String handle = HandleManager.findHandle(context, item);        // Collections        Collection[] collections = item.getCollections();        // All DC types in the registry        MetadataField[] types = MetadataField.findAll(context);        request.setAttribute("item", item);        request.setAttribute("handle", handle);        request.setAttribute("collections", collections);        request.setAttribute("dc.types", types);        JSPManager.showJSP(request, response, "/tools/edit-item-form.jsp");    }