Generate Jasper Reports from your entities/beans/POJOs
Report UI Add-on provides an easy way to render JasperReports in Vaadin applications through DynamicJasper.
Basic usage
Say, you have the following domain/entity/Java Bean class:
public class Call {
private Long id;
private String client;
private String phoneNumber;
private City city; // enum
private LocalDateTime startTime;
private Integer duration;
private Status status; // enum
... getters and setters ...
}
You can create a new report and add it to any Vaadin layout as follows:
PrintPreviewReport<Call> report = new PrintPreviewReport<>(Call.class);
report.setItems(Repository.findAll());
layout.addComponent(report);
See more examples at https://github.com/alejandro-du/report-ui
Install
Framework Support
Install with
Release notes - Version 4.0.2
Fixes build (take 2)