This commit is contained in:
Jialin Wang
2007-12-16 14:54:04 +00:00
parent 7cfa1aa14f
commit 32157f21ac

View File

@@ -12,24 +12,25 @@
<h2 align="center"><fmt:message key="submission.title" /></h2> <h2 align="center"><fmt:message key="submission.title" /></h2>
<form:form commandName="choose">
<c:if test="${requestScope['articleList']!=null}"> <c:if test="${requestScope['articleList']!=null}">
<table> <table>
<c:forEach items="${requestScope['articleList']} " var="article"> <c:forEach items="${requestScope['articleList']}" var="article">
<tr>
<td><a href="<c:url value="detailArticle.htm"/>">${article.title}</a></td>
<td><fmt:message key="prefence.like"/></td>
<td><input type="radio" value="<fmt:message key="prefence.like">" name="preference" id="A" /> </td>
<td><fmt:message key="prefence.indifferent"/></td>
<td><input type="radio" value="<fmt:message key="prefence.indifferent">" name="preference" id="B" checked="checked" /> </td>
<td><fmt:message key="prefence.dislike"/></td>
<td><input type="radio" value="<fmt:message key="prefence.dislike">" name="preference" id="C" /> </td>
</tr>
<tr>
<td><a href="<c:url value="detailArticle.htm"/>"><form:label path="article.id">${article.title}"</form:label></a></td>
<td><fmt:message key="preference.like"/></td>
<td><form:radiobutton value="<fmt:message key="preference.like"/>" id="A" path="like" /> </td>
<td><fmt:message key="preference.indifferent"/></td>
<td><form:radiobutton value="<fmt:message key="preference.indifferent"/>" id="B" path="${article.preference}" /> </td>
<td><fmt:message key="preference.dislike"/></td>
<td><form:radiobutton value="<fmt:message key="preference.dislike"/>" id="C" path="${article.preference}"/> </td>
</tr>
<input type="submit" value="<fmt:message key="preference.submit"/>">
</c:forEach> </c:forEach>
</table> </table>
</c:if> </c:if>
</form:form>
<a href="<c:url value="main.htm"/>">Home</a> <a href="<c:url value="main.htm"/>">Home</a>
</body> </body>