Code warning - failed on resource DispatchArticleController.java. Reason: The import java.util.ArrayList is never used, line 3 - failed on resource DispatchArticleController.java. Reason: The import org.yacos.core.conferences.Conference is never used, line 16 - failed on resource DispatchArticleController.java. Reason: The local variable article is never read, line 7 Override reason: d
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
<%@ include file="/WEB-INF/decorators/include.jsp"%>
|
|
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
|
|
<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/> main author: ${article.mainAuthor.firstName}{article.mainAuthor.lastName}</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}" />
|
|
|
|
<form:select path="member">
|
|
<c:forEach var="m" items="${members}">
|
|
<option value="${m.login}">
|
|
${m.firstName} ${m.lastName}(0)
|
|
</option>
|
|
</c:forEach>
|
|
</form: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>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|