Suresh Kumar Suresh Kumar - 1 year ago 75
Java Question

How to populate Japser report For a list of objects where each object has a list of objects inside?

Object is like this

class jobVO{
List<taskVO> tasks;
class TaskVO{
String name;

I need to pass List to a jrxml and print.

I tried with subreports. but there I couldn't find a way to pass the params.
Also tried with collection datasource also. There the problem I found was need to mention the factory method. My requirement is to create this report dynamically.

Answer Source
created 2 subreports

    <band height="60" splitType="Stretch">
            <reportElement x="-19" y="34" width="560" height="26" uuid="7006626b-cfcb-4dcc-a1c8-3ef0f95e0440"/>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download