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
0 Answers:
No answers yet
https://stackoverflow.com/questions/17140903/field-inside-field-on-jaspe...
Use $P{myParam}.getMyField() in expressions (or text fields)