Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table>
- <thead>
- <th>#</th>
- <th>Bus</th>
- <th>Departure Point</th>
- <th>Arrival Point</th>
- </thead>
- <c:choose>
- <c:when test="${fn:length(sheduleList) gt 0}">
- <c:forEach var="shedule"
- items="${sheduleList}"
- varStatus="status">
- <c:url value="/shedules/${shedule.id}" var="showSheduleUrl" />
- <c:url value="/shedules/${shedule.id}?delete" var="sheduleDeleteUrl" />
- <tr>
- <td><c:out value="${shedule.Bus}" /></td>
- <td><c:out value="${shedule.DeparturePoint}" /></td>
- <td><c:out value="${shedule.ArrivalPoint}" /></td>
- <td>
- <fmt:formatDate pattern="dd-MM-yyy" value="${shedule.dueDate}" />
- </td>
- <td><a href="${showSheduleSheduleUrl}">Get more info</a> |
- <a href="${sheduleDeleteUrl}">Del</a>
- </td>
- </tr>
- </c:forEach>
- </c:when>
- <c:otherwise>
- <tr>
- <td colspan="5">List is empty</td>
- </tr>
- </c:otherwise>
- </c:choose>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement