How do you format a collection parameter?

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?

manshack_one's picture
Joined: Aug 18 2009 - 9:29am
Last seen: 6 years 5 months ago

0 Answers:

No answers yet