Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/choosePreference.jsp
Frederic Debuire 4152d4ed46 Plein de modif
Policy failures:   
Code warning
- failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 37
- failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 38
- failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 62
- failed on resource DispatchArticleController.java. Reason: ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized, line 63
- failed on resource ChoosePreferenceControllerOK.java. Reason: The import java.util.Date is never used, line 14
... and more.  
Override reason:   
haha
2007-12-17 15:04:07 +00:00

32 lines
1.3 KiB
Plaintext

<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<h2 align="center"><fmt:message key="preference.title" /></h2>
<form:form method="post" commandName="choosePreference">
<c:if test="${empty requestScope['articleList']}">
<table>
<c:forEach items="${articleList}" var="article" varStatus="i">
<tr>
<td><a href="<c:url value="detailArticle.htm"/>">${article.title}</a></td>
<form:hidden path="preferences[${i.index}].article" />
<form:hidden path="preferences[${i.index}].pcMember" />
<td><fmt:message key="preference.like"/></td>
<td><form:radiobutton path="preferences[${i.index}].preference" value="Like"/></td>
<td><fmt:message key="preference.indifferent"/></td>
<td><form:radiobutton path="preferences[${i.index}].preference" value="Indifferent"/></td>
<td><fmt:message key="preference.dislike"/></td>
<td><form:radiobutton path="preferences[${i.index}].preference" value="Dislike"/></td>
</tr>
</c:forEach>
</table>
<input type="submit" value="<fmt:message key="button.OK"/>"/>
</c:if>
</form:form>
<a href="<c:url value="main.htm"/>">Home</a>
<jsp:include page="/WEB-INF/jsp/footer.jsp" />