Diverse modif

Policy failures:   
Code warning
- failed on resource ValidateSubmission.java. Reason: Class is a raw type. References to generic type Class<T> should be parameterized, line 10
- failed on resource DispatchArticleController.java. Reason: HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized, line 72
- failed on resource DispatchArticleController.java. Reason: Map is a raw type. References to generic type Map<K,V> should be parameterized, line 70
- failed on resource DispatchArticleController.java. Reason: Map is a raw type. References to generic type Map<K,V> should be parameterized, line 72
- failed on resource DispatchArticleController.java. Reason: The import java.util.ArrayList is never used, line 3
... and more.  
Override reason:   
hu
This commit is contained in:
Frederic Debuire
2008-02-04 16:55:43 +00:00
parent 3872d95b37
commit 21842924fd
8 changed files with 42 additions and 43 deletions

View File

@@ -9,6 +9,7 @@
<c:if test="${message}">
<fmt:message key="message"/>
huhu
</c:if>
<form:form method="post" commandName="choosePreference">

View File

@@ -6,11 +6,14 @@
<c:forEach items="${listArticle}" var="article">
<ul class="article">
<li class="title">${article.title}</li>
<li class="author">Author: ${article.mainAuthor}</li>
<li class="topic">Topic: ${article.topic}</li>
<li class="title"><b>${article.title}</b></li>
<li class="author">Author: <b>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</b></li>
<li class="topic">Topic: <b>${article.topic}</b></li>
<li class="article_url"><a href="<c:url value="${article.URL_article}"/>">Download the article</a></li>
</ul>
</ul>
<br />
<hr />
<br />
</c:forEach>

View File

@@ -29,9 +29,8 @@ function Supprimer(form) {
<hr/> <br/>
<label for="listauthor"><fmt:message key="form.submission.listauthor" /></label> <br /><br />
<form:label path="mainauthor"><fmt:message key="form.submission.mainauthor" /></form:label> <form:input path="mainauthor" />
<font color="red"><form:errors path="mainauthor"/></font>
<br/> <br/>
<form:label path="mainauthor"><fmt:message key="form.submission.mainauthor" /></form:label>: <b>${currentUser.firstName} ${currentUser.lastName}</b>
<br/> <br/>
<form:label path="secondaryauthor"><fmt:message key="form.submission.secondaryauthor" /></form:label> <form:input path="secondaryauthor" />
<input type="button" name="addSecondary" onClick="Ajouter(this.form)" value=<fmt:message key="button.add" />> <br/><br />