/** Add a page title and trail links. */ public void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, SQLException, IOException, AuthorizeException { Request request = ObjectModelHelper.getRequest(objectModel); String facetField = request.getParameter(FACET_FIELD); pageMeta .addMetadata("title") .addContent(message("xmlui.ArtifactBrowser.AbstractSearch.type_" + facetField + "_browse")); pageMeta.addTrailLink(contextPath + "/", T_dspace_home); DSpaceObject dso = HandleUtil.obtainHandle(objectModel); if ((dso instanceof Collection) || (dso instanceof Community)) { HandleUtil.buildHandleTrail(dso, pageMeta, contextPath); } pageMeta .addTrail() .addContent(message("xmlui.ArtifactBrowser.AbstractSearch.type_" + facetField + "_browse")); }