<%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - Workspace Options page, so the user may edit, view, add notes to or remove - the workspace item - - Attributes: - wsItem - WorkspaceItem containing the current item to be worked on --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ page import="org.dspace.app.webui.servlet.MyDSpaceServlet" %> <%@ page import="org.dspace.content.Item" %> <%@ page import="org.dspace.content.WorkspaceItem" %> <%@ page import="org.dspace.eperson.EPerson" %> <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ page import="org.dspace.core.Utils" %> <%@ page import="org.dspace.content.MetadataValue" %> <%@ page import="java.util.List" %> <%@ page import="org.dspace.content.factory.ContentServiceFactory" %> <% // get the workspace item from the request WorkspaceItem workspaceItem = (WorkspaceItem) request.getAttribute("wsItem"); // get the title and submitter of the item List titleArray = ContentServiceFactory.getInstance().getItemService().getMetadata(workspaceItem.getItem(), "dc", "title", null, Item.ANY); // String title = (titleArray.length > 0 ? titleArray[0].value : "Untitled"); EPerson submitter = workspaceItem.getItem().getSubmitter(); %>

<% if (titleArray.size() > 0) { %> <%= titleArray.get(0).getValue() %> <% } else { %> <% } %> ">

<%= Utils.addEntities(submitter.getFullName()) %>

<%= workspaceItem.getCollection().getName() %>

"/>
"/>
"/>