You were close. Creating a field called _THIS should work.
jaspersoft how to display values from list
-
05-07-2023 - |
Domanda
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.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow