kelvinsleonardo Posted October 18, 2017 Share Posted October 18, 2017 I'm passing the object "OrdemServico" as parameter to report.OrdemServico ordemServico = new OrdemServico(); ordemServico.setCodigo("CA123");mapa.put("ORDEMSERVICO", ordemServico);[/code]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 Link to comment Share on other sites More sharing options...
sanbez Posted October 18, 2017 Share Posted October 18, 2017 https://stackoverflow.com/questions/17140903/field-inside-field-on-jasperreportsUse $P{myParam}.getMyField() in expressions (or text fields) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now