1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
<c:set var="affTH" value="true"/>
<c:forEach var="content" items="${contents}" varStatus="totalCount">
<content:contentAttribute id="jour" contentId="${content.id}" attributeName="jour"/>
<content:contentAttribute id="name" contentId="${content.id}" attributeName="name"/>
<content:contentAttribute id="concatHeure" contentId="${content.id}" attributeName="concatHeure"/>
<c:if test="${param.jour == jour}">
<c:if test="${concatHeure >= concatHeureDeb && concatHeure <= concatHeureFin}">
<c:if test="${affTH == true}">
<table border="1">
<tr align="center">
<th>Sport</th>
<th>Jour</th>
<th>Heure</th>
<th>Lieu</th>
<th>Professeur</th>
<th>Type</th>
<th>Commentaires</th>
</tr>
<c:set var="affTH" value="false"/>
</c:if>
<tr align="center">
<td width="150px"><b><c:out value="${name}"/></b></td>
<td width="100px"><c:out value="${jour}"/></td>
<td width="100px"><c:out value="${concatHeure}"/></td>
....
</tr>
</c:if>
</c:if>
</c:forEach>
<c:if test="${affTH == false}">
</table>
</c:if> |