Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <table>
  2. <thead>
  3. <th>#</th>
  4. <th>Bus</th>
  5. <th>Departure Point</th>
  6. <th>Arrival Point</th>
  7. </thead>
  8. <c:choose>
  9. <c:when test="${fn:length(sheduleList) gt 0}">
  10. <c:forEach var="shedule"
  11. items="${sheduleList}"
  12. varStatus="status">
  13. <c:url value="/shedules/${shedule.id}" var="showSheduleUrl" />
  14. <c:url value="/shedules/${shedule.id}?delete" var="sheduleDeleteUrl" />
  15. <tr>
  16. <td><c:out value="${shedule.Bus}" /></td>
  17. <td><c:out value="${shedule.DeparturePoint}" /></td>
  18. <td><c:out value="${shedule.ArrivalPoint}" /></td>
  19. <td>
  20. <fmt:formatDate pattern="dd-MM-yyy" value="${shedule.dueDate}" />
  21. </td>
  22. <td><a href="${showSheduleSheduleUrl}">Get more info</a> |
  23. <a href="${sheduleDeleteUrl}">Del</a>
  24. </td>
  25. </tr>
  26. </c:forEach>
  27. </c:when>
  28. <c:otherwise>
  29. <tr>
  30. <td colspan="5">List is empty</td>
  31. </tr>
  32. </c:otherwise>
  33. </c:choose>
  34. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement