cours0708/P51/apache-tomcat-6.0.14/webapps/ecommerce/resumePanier.jsp

54 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2008-11-25 21:11:16 +00:00
<h2>Contenu du Panier</h2>
<form method="post" action="./Client">
<table border="0" width="100%">
<thead>
<tr>
<th>Aper<65>u</th>
<th>Propri<72>t<EFBFBD>s</th>
<th>Quantit<69></th>
</tr>
</thead>
<tbody>
<c:forEach items="${articles}" var="artRef" >
<tr>
<td>
<img src="./img/${artRef.photo}" width="50" height="50" alt="image"/>
</td>
<td>
<table border="0" width="100%" height="100%">
<tbody>
<tr>
<td>R&eacute;f&eacute;rence : ${artRef.ref}</td>
</tr>
<tr>
<td>Marque : ${artRef.marque}</td>
</tr>
<tr>
<td>Mod&egrave;le : ${artRef.modele}</td>
</tr>
<tr>
<td>Prix : ${artRef.prix}</td>
</tr>
</tbody>
</table>
</td>
<td>
${artRef.quantite}
</td>
</tr>
</c:forEach>
<tr>
<td colspan="2" class="tabTotal">Total :</td>
<td>
<jsp:useBean id="panierTotal" class="com.articles.Panier" scope="request" />
<jsp:getProperty name="panierTotal" property="prixTotal" />
</td>
</tr>
</tbody>
</table>
<br />
<input type="button" value="Annuler" onclick="javascript:document.location='./Articles'" />&nbsp;
<input type="submit" value="Valider" />
</form>