Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/dispatchArticle.jsp
Maxime Dagnicourt 243dd08824 Policy failures:
Code warning
- failed on resource dispatchArticle.jsp. Reason: Undefined attribute name (path)., line 4
Override reason:   
t
2007-12-18 00:29:48 +00:00

73 lines
1.6 KiB
Plaintext

<%@ include file="/WEB-INF/jsp/include.jsp"%>
<!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>members associate to the article</th>
</tr>
<c:forEach var="article" items="${articles}">
<tr>
<td>
<table>
<tr><td>title : ${article.title}
<br/> theme: ${article.topic}
<br/> author: ${article.mainAuthor}</td>
<td><a href="${article.URL_article}">download the article</a></td>
</tr>
</table>
</td>
<td>
<form:form commandName="formDispatcher">
<input name="idArticle" type="hidden" value="${article.id}" />
<select path="member">
<c:forEach var="m" items="${members}">
<option value="${m.login}">
${m.firstName} ${m.lastName}(0)
</option>
</c:forEach>
</select>
<input type="submit" value="add" />
</form:form>
</td>
<td>
<center>list is empty !</center>
<!--<c:forEach var="m" items="${members}">
<c:if test="${m.firstName=='max'}">
${m.firstName}${m.lastName}
</c:if>
</c:forEach>-->
</td>
</tr>
</c:forEach>
</table>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body>
</html>