report-ui - Vaadin Add-on Directory
Generate Jasper Reports from your entities/beans/POJOsReport 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:
```java
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:
```java
PrintPreviewReport report = new PrintPreviewReport<>(Call.class);
report.setItems(Repository.findAll());
layout.addComponent(report);
```
See more examples at https://github.com/alejandro-du/report-ui