<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html" version="2.0">
	<jsp:directive.page language="java"
		contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
	<jsp:text>
		<![CDATA[ <?xml version="1.0" encoding="UTF-8" ?> ]]>
	</jsp:text>
	<jsp:text>
		<![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
	</jsp:text>
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<jsp:include page='../includes/header.jsp'>
		<jsp:param name="title" value="paper details page" />
	</jsp:include>
	</head>
	<body>	
	<f:view>
		<jsp:include page='../includes/header_body.jsp' />
		<jsp:include page='../includes/topMenu.jsp' />
		<jsp:include page='../includes/leftMenu.jsp' />	
		<div id="CONTENT" class="text2">		
		<h:form>
			<h:panelGrid border="0" columns="2">
				<f:facet name="header">
					<h:outputText value="#{resources['paperDetailsPage.form.label']}"></h:outputText>
				</f:facet>
				<h:outputText value="#{resources['addEditUser.field.label.title']}"></h:outputText>
				<h:outputText value="#{visitBean.currentPaper.title}"></h:outputText>
				
				<h:outputText value="#{resources['addEditPaper.field.label.authors']}"></h:outputText>
				<h:outputText value="#{visitBean.currentPaper.authors}"></h:outputText>
				
				<h:outputText value="#{resources['addEditPaper.field.label.acronym']}"></h:outputText>
				<h:outputText value="#{visitBean.currentPaper.acronym}"></h:outputText>
				
				<h:outputText value="#{resources['addEditPaper.field.label.abstract']}"></h:outputText>
				<h:outputText value="#{visitBean.currentPaper.abstract_}"></h:outputText>
				
				<h:outputText value="link do pracy"></h:outputText>
				<h:commandLink actionListener="#{papersListBean.download}"  value="#{visitBean.currentPaper.title}" >
				</h:commandLink>						
											
			</h:panelGrid>
		</h:form>	
		</div>
		<jsp:include page='../includes/footer.jsp' />
	</f:view>
	</body>
	</html>
</jsp:root>