report-ui
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
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Fixes build (take 2)
- Released
- 2021-12-10
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 20+
- Vaadin 8.0+ in 1.0
- Vaadin 10+ in 2.0
- Vaadin 14+ in 3.0.0
- Vaadin 21+ in 4.0.0
- Browser
- N/A
report-ui - Vaadin Add-on Directory
Generate Jasper Reports from your entities/beans/POJOsGitHub
Issue tracker
Forum thread
report-ui version 1.1
Added charts support.
report-ui version 2.0.1
Updated to Vaadin 12.0.3
report-ui version 3.0.0
- Updated to Vaadin 14.0.2
- Implement a vaadin data provider
report-ui version 3.0.1
* Fixes #4 Styles are not loaded when using Vaadin 14
* Fixes #5 Charts are not shown when navigating from a non-root route
* Updates POI version (requires 3.17)
* Centers report page
report-ui version 3.0.2
Fixes #9 Issue when loading ui with vaadin 14.1.18
Fixes #11 2nd Download Fails
report-ui version 3.0.3
Updated to DynamicJasper 5.3.2 and Vaadin 14.7.0
report-ui version 4.0.0
Updated to Vaadin 21.0.3.
report-ui version 4.0.1
Fixes build.
report-ui version 4.0.2
Fixes build (take 2)