SHARE
TWEET

Untitled

a guest Feb 24th, 2020 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <table border="5" align="left">
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top