modif ds evaluation

Policy failures:   
Code warning
- failed on resource EvaluationController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 100
- failed on resource EvaluationController.java. Reason: The local variable idd is never read, line 124
- failed on resource EvaluationController.java. Reason: Type safety: The expression of type ArrayList needs unchecked conversion to conform to List<Rating>, line 10
Override reason:   
o(∩_∩)o
This commit is contained in:
Jialin Wang
2008-02-04 23:10:55 +00:00
parent bf7cbab71a
commit d922edeaef
5 changed files with 88 additions and 11 deletions

View File

@@ -124,6 +124,8 @@ evaluation.commentAuthor=Comment of author
evaluation.headPage=Here is a report of the evaluation
evaluation.titleArticle=The title of article is
evaluation.note=The note for the criterion
evaluation.thisArticle=evaluate this article
evaluation.choose=Choose an title to evaluation from the list
#Validation messages for errors
submissionArticle.title=The title should not be null
@@ -138,3 +140,4 @@ validate.download=download the article
validate.report=consulter the result of the evaluation
validate.validate=validate
validate.reject=reject

View File

@@ -16,7 +16,7 @@
<li><a href="<c:url value="addConference.htm"/>"><fmt:message key="menu.chairman.conference.create" /></a></li>
<li><a href="<c:url value="dispatchArticle.htm"/>"><fmt:message key="menu.chairman.article.dispatch" /></a></li>
<li><a href="<c:url value="choosePreference.htm"/>"><fmt:message key="menu.pcmember.article.preference" /></a></li>
<li><a href="<c:url value="evaluation.htm"/>"><fmt:message key="menu.referee.article.evaluation" /></a></li>
<li><a href="<c:url value="listEvaluation.htm"/>"><fmt:message key="menu.referee.article.evaluation" /></a></li>
<li><a href="<c:url value="submissionArticle.htm"/>"><fmt:message key="menu.author.article.submission" /></a></li>
<li><a href="<c:url value="validateArticle.htm"/>"><fmt:message key="menu.pcmember.article.validation" /></a></li>
</ul>

View File

@@ -0,0 +1,21 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<h2><fmt:message key="evaluation.choose"/></h2>
<c:forEach items="${listArticle}" var="article">
<ul class="article">
<li class="title">Title: <a href="<c:url value="${article.URL_article}"/>">${article.title}</a></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="evaluation.htm?id=${article.id}"/>"><fmt:message key="evaluation.thisArticle"/></a></li>
</ul>
<br />
<hr />
<br />
</c:forEach>
</body>
</html>