How get fields of object in parameter iReport

0

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

OrdemServico ordemServico = new OrdemServico();  
ordemServico.setCodigo("CA123");
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: 2 years 5 months ago

https://stackoverflow.com/questions/17140903/field-inside-field-on-jaspe...

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

sanbez - 2 years 5 months ago

0 Answers:

No answers yet
Feedback
randomness