Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/dispatchArticle.jsp

61 lines
1.4 KiB
Plaintext

<%@ include file="/WEB-INF/jsp/include.jsp"%>
<!--
<%@ page session="false" %> spring -> true par defaut
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<table>
<tr>
<th>articles to dispatch</th><th>members</th><th></th>
</tr>
<c:forEach var="article" items="${articles}">
<tr>
<td>titre : ${article.title} <a href="${article.URL_article}">download the article</a></td>
<td>
<form:form commandName="formDispatcher">
<input name="idArticle" type="hidden" value="${article.id}" />
<form:select path="member">
<c:forEach var="member" items="${members}">
<form:option value="${member.login}">
${member.firstName}${member.lastName}
</form:option>
</c:forEach>
</form:select>
<input type="submit" value="add" />
</form:form>
</td>
<td>telecharger l'article</td>
</tr>
</c:forEach>
</table>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body>
</html>