How get fields of object in parameter iReport


I'm passing the object "OrdemServico" as parameter to report.

OrdemServico ordemServico = new OrdemServico();  
mapa.put("ORDEMSERVICO", ordemServico);

And on the .jrxml i added a parameter with same name of the parameter in map. how i can get the fields of the object? Tnks

kelvinsleonardo's picture
Joined: Oct 17 2017 - 7:05pm
Last seen: 3 years 6 months ago

Use $P{myParam}.getMyField() in expressions (or text fields)

sanbez - 3 years 6 months ago

0 Answers:

No answers yet