Policy failures:

Code warning
- failed on resource dispatchArticle.jsp. Reason: Undefined attribute name (path)., line 4
Override reason:   
t
This commit is contained in:
Maxime Dagnicourt
2007-12-18 00:29:48 +00:00
parent 7588bad361
commit 243dd08824

View File

@@ -1,7 +1,4 @@
<%@ 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>
@@ -23,28 +20,43 @@
<table>
<tr>
<th>articles to dispatch</th><th>members</th><th></th>
<th>articles to dispatch</th><th>members</th><th>members associate to the article</th>
</tr>
<c:forEach var="article" items="${articles}">
<tr>
<td>titre : ${article.title} <a href="${article.URL_article}">download the article</a></td>
<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}" />
<form:select path="member">
<c:forEach var="member" items="${members}">
<form:option value="${member.login}">
${member.firstName}${member.lastName}
</form:option>
<select path="member">
<c:forEach var="m" items="${members}">
<option value="${m.login}">
${m.firstName} ${m.lastName}(0)
</option>
</c:forEach>
</form:select>
</select>
<input type="submit" value="add" />
</form:form>
</td>
<td>telecharger l'article</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>