Guest User

Untitled

a guest
Nov 23rd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. <c:choose>
  2. <c:when test="${!empty param.descricao}">
  3. <c:forEach items="${requestScope.produtos}" var="registro">
  4.  
  5.  
  6. <div class="col-sm-6 col-md-6">
  7.  
  8. <h3>${registro.descricao}</h3>
  9. <p>${registro.codigo}</p>
  10. <div class="linha_compra"></div><br/><br/>
  11.  
  12.  
  13. <div class="col-sm-6 col-md-6">
  14. <p>${registro.valor}</p>
  15.  
  16. <select id="parcelas">
  17. <option value="1"> ${registro.prod_parc1}</option>
  18. <option value="2">${registro.prod_parc2}</option>
  19. <option value="3">${registro.prod_parc3}</option>
  20. <option value="4"${registro.prod_parc4}</option>
  21. <option value="5"${registro.prod_parc5}</option>
  22. <option value="6"${registro.prod_parc6}</option>
  23. <option value="7"${registro.prod_parc7}</option>
  24. <option value="8"${registro.prod_parc8}</option>
  25. <option value="9"${registro.prod_parc9}</option>
  26. <option value="10"${registro.prod_parc10}</option>
  27. </select>
  28. <div class="col-sm-6 col-md-6">
  29. <button type="button" onclick="" class="botao_comprar"><a href="http://localhost:8080/EccomerceJSP2/Carrinho?descricao=${registro.descricao}&valor=${registro.valor}&parcela=">COMPRAR</a></button>
  30. </div>
  31.  
  32. </div>
  33. </c:foreach>
Add Comment
Please, Sign In to add comment