RepeatingView repeating = new RepeatingView("repeating");
SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
AuthenticatedSession session = ((AuthenticatedSession)Session.get());
for (BorrowTO borrow : borrowService.findBorrowsByReader(session.getReader())) {
for (BookTO book: borrow.getTitlesTO()){
AbstractItem item = new AbstractItem(repeating.newChildId());
item.add(new Label("title", book.getTitle()));
item.add(new Label("author", book.getAuthor()));
item.add(new Label("borrowdate", dateFormat.format(borrow.getBorrowDate())));
item.add(new Label("expirationdate", dateFormat.format(borrow.getExpirationDate())));
repeating.add(item);