Directory

← Back

report-ui

Generate Jasper Reports from your entities/beans/POJOs

Author

Contributors

Rating

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

Compatibility

(Loading compatibility data...)

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 21+ in 4.0.0
Vaadin 14+ in 3.0.3
Vaadin 10+ in 3.0.2
Vaadin 8.0+ in 1.1
Browser
N/A
Online