Changement du Filler : création de plusieurs articles par user

Changement du tableau manageArticle
Policy failures:   
Code warning
- failed on resource ManageArticleController.java. Reason: The import java.util.ArrayList is never used, line 4
- failed on resource ManageArticleController.java. Reason: The import org.yacos.web.author.form.ArticleBean is never used, line 1
Override reason:   
yess
This commit is contained in:
Frederic Debuire
2008-02-14 16:35:57 +00:00
parent 767ff12536
commit 46f144e03e
3 changed files with 66 additions and 99 deletions

View File

@@ -8,52 +8,50 @@
<script type='text/javascript' src='./dwr/engine.js'></script>
<script type='text/javascript' src='./dwr/util.js'></script>
<script type='text/javascript' src='./dwr/interface/ManagerArticleJS.js'></script>
<script type='text/javascript'
src='./javascripts/yacos/manageArticle.js'></script>
<script type='text/javascript' src='./javascripts/yacos/manageArticle.js'></script>
</head>
<body>
<h4 class="title"><fmt:message key="manageArticle.title" /></h4>
<div id="authorList" class="dynamicFredList">
<!-- <div id="authorList" class="dynamicFredList">
<div class="dynamicListHeader" align="center"><fmt:message
key="listarticle.title" /></div>
</div>
</div> -->
<br />
<div id="articleDetails" style="display: none;">
<table border="1" id="tableArticle">
<thead>
<tr>
<th>Details</th>
<th>Download</th>
<th>Modify</th>
<th>Suppress</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ul class="article">
<li class="title"><b><span id="articleTitle">Title</span></b></li>
<li class="author">Author: <b><span id="articleAuthor">Author</span></b></li>
<li class="secondaryAuthors">Secondary Authors: <span
id="secondaryAuthor">Secondary</span></li>
<li class="topic">Topic: <b><span id="articleTopic">Topic</span></b></li>
</ul>
</td>
<td><a id="articleURL" href="" />Download the article</a></td>
<td><a id="modifyArticle" href="" />Modify the article</a></td>
<td><a id="suppressArticle" href="" />Suppress the article</a></td>
</tr>
</tbody>
</table>
<div id="articleList" class="dynamicFredList">
<c:forEach var="article" items="${listArticle}" varStatus="i">
<div id="articleLine${i.index}" align="center" class="articleLine">${article.title}</div>
<div id="articleDetails${i.index}" style="display: none;">
<table>
<tbody>
<tr>
<td>
<ul>
<li>Author: <b>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</b></li>
<li>Secondary Authors:
<c:forEach var="sAuthor" items="${article.secondaryAuthors}">
${sAuthor}
</c:forEach>
</li>
<li>Topic: <b>${article.topic}</b></li>
</ul>
</td>
<td><a id="articleURL${i.index}" href="${article.URL_article}" />Download the article</a></td>
<td><a id="modifyArticle${i.index}" href="" />Modify the article</a></td>
<td><a id="suppressArticle${i.index}" href="" />Suppress the article</a></td>
</tr>
</tbody>
</table>
</div>
</c:forEach>
</div>
</body>
</html>