RepeatingView repeating = new RepeatingView("repeating");
add(repeating);
ReservationService reservationService = (ReservationService) ApplicationContextProvider.getApplicationContext().getBean("reservationService");
SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
for (ReservationTO reservation : reservationService.findAllReservations()) {
AbstractItem item = new AbstractItem(repeating.newChildId());
PageParameters pageParameters = new PageParameters();
item.add(new BookmarkablePageLink<Void>("delete", ShowAllReservation.class, pageParameters));
pageParameters.add("reservationid", reservation.getReservationID());
item.add(new Label("readerTO", reservation.getReaderTO().toString()));
item.add(new Label("bookTO", reservation.getBookTO().toString()));