I am sending a List as a parameter to a jasperreport as a collection type on the report end. How do I parse the collection to display teh items in the necessary report fields? [ May 22, 2008: Message edited by: Steve Dyke ]
Still need some help with this. I have not been able to take a collection type parameter and parse out the specific elements to use in my report fields.
Now I have got one more issue.
i.e i am passing an Integer[] as parameter to the .jrxml file .
in my .jrxml i have
<parameter name="id" class="java.lang.Integer"/>
Now its throwing me exception
"JRException: Incompatible [Ljava.lang.Integer; value assigned to parameter"
I have tried passing an List.. But as the field in my data base is of int type, its not working... well that was obvious.. Is there any other alternative???