Pregunta

I'm using iReport 5 to generate PDF. I got few lists containing some objects to display, and it's the easy part. I got stuck on displaying values from List<String>.
I pass it as a parameter, I configured data source correctly, but have no idea how to name the string.
When I got list of objects it's easy - if you want to get field xxx from obcject you use $F{xxx} and it works, but how to display a object? I tried $F{_this}, but got error saying that it's non recognizable.

¿Fue útil?

Solución

You were close. Creating a field called _THIS should work.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top