This commit is contained in:
Maxime Dagnicourt
2007-12-17 11:07:05 +00:00
parent 487fca617b
commit d5c6500fb0

View File

@@ -1,7 +1,45 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false" %>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
DispathArticles
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!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>dispatchArticles</title>
</head>
<body>
<br/>
<br/>
<br/>
<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>
</body>
</html>