Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/evaluation.jsp
Jialin Wang 936e7ef80d mtn un evaluation est liee a un article , par contre une erreur lors de creation de report.
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 105
- failed on resource EvaluationController.java. Reason: The local variable idd is never read, line 129
- 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
2008-02-05 00:28:25 +00:00

46 lines
1.2 KiB
Plaintext

<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<form:form method="post" commandName="evaluationForm">
<h4 align="center"><fmt:message key="evaluation.title"/>: ${evaluationForm.title}</h4>
<br>
<table>
<c:forEach items="${evaluationForm.simpleRatings}" var="criterion" varStatus="j">
<tr>
<td>${criterion.name}</td>
<form:hidden path="simpleRatings[${j.index}].name"></form:hidden>
<td>
<c:forEach var="i" begin="${criterion.min_rating}" end="${criterion.max_rating}" step="1">
<c:out value="${i}"/>
<form:radiobutton path="simpleRatings[${j.index}].value" value="${i}" />
</c:forEach>
</td>
</tr>
</c:forEach>
<tr>
<td><fmt:message key="evaluation.commentAuthor"/></td>
<td><form:textarea path="commentAuthor"/></td>
</tr>
<tr>
<td><fmt:message key="evaluation.commentPCMember"/></td>
<td><form:textarea path="commentPCMember"/></td>
<tr>
</table>
<input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/>
</form:form>
</body>
</html>