YACOSWeb : Commit de la version démo améliorée

ChoosePreferences fonctionnel !
Plein de petites corrections dans pas mal d'endroit, referez-vous aux changelog de chaque fichier pour plus de détails
This commit is contained in:
2007-12-18 22:10:12 +00:00
parent 321d7dc907
commit b7f28514e6
7 changed files with 59 additions and 33 deletions

View File

@@ -23,15 +23,15 @@
<h2 align="center"><fmt:message key="preference.title" /></h2>
<form:form method="post" commandName="choosePreference">
<c:if test="${empty requestScope['articleList']}">
<form:form method="post" commandName="choosePreference">
<c:if test="${not empty 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" />
<form:hidden path="preferences[${i.index}].article.id" />
<form:hidden path="preferences[${i.index}].pcMember.login" />
<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>
@@ -41,7 +41,7 @@
</tr>
</c:forEach>
</table>
<input type="submit" value="<fmt:message key="button.OK"/>"/>
<input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/>
</c:if>
</form:form>