Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/evaluation.jsp
Jialin Wang 5a503be012 modif d'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 83
- failed on resource EvaluationController.java. Reason: Type safety: The expression of type ArrayList needs unchecked conversion to conform to ArrayList<Rating>, line 8
Override reason:
2008-01-21 21:14:42 +00:00

58 lines
1.2 KiB
Plaintext

<%@ include file="/WEB-INF/decorators/include.jsp"%>
<!--
<%@ page session="false" %> spring -> true par defaut
-->
<html>
<head></head>
<body>
<h2 align="center"><fmt:message key="evaluation.title"/></h2>
<form:form method="post" commandName="evaluationForm">
<table>
<c:forEach items="${evaluationForm.simpleRatings}" var="criterion" varStatus="j">
<tr>
<td>${criterion.name}</td>
<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:input path="commentAuthor"/></td>
</tr>
<tr>
<td><fmt:message key="evaluation.commentPCMember"/></td>
<td><form:input path="commentPCMember"/></td>
<tr>
</table>
<input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/>
</form:form>
<a href="<c:url value="main.htm"/>">Home</a>
</body>
</html>