I sometimes drop the collection I'm using in my report onto the page so the user can see later what they chose as parameters. For example I have "showReportList" as a collection. Dropping it on the page gives you a text field with ""+$P{showReportList} as the field expression. This formats the output as: ["report1", "report2"]. Take out the beginning quotes from the expression just leaving $P{showReportList} and you get [report1, report2]. Are there any other formatting options? I'd like to insert a newline after each collection item for instance. What options do you have for formatting the collection output?
0 Answers:
No answers yet