Jump to content

Is JasperReport/iReport support subreport of subreport?? (PLEASE SUGGEST, SO FRUSTRATED)


jasperbox

Recommended Posts

The javabean datasource has a list of list of collection, and each collection has a list of collections. And then I used the subreport to accomplish that. I'm able to make the subreport for the list of collection, but I cannot go to the next level (Dist and SpecialAppt Lists in below) and it always has error cannot find the bean. When I do the subreport of subreport, I'm not sure what's missing and I used the same approach I did for subreport.

Am I in the wrong approach? Please advise what's the CORRECT way to design the following Java Bean Hierarchies: Thanks so much, and I really so frustrated and don't know what to do.


public class Account implements java.io.Serializable {

    private String acctId;
    private String acctType;
    private List<Appt> apptList = new ArrayList<Appt>();
    //etc...
}

public class Appt implements Serializable {

    private String apptId;
    private List<Dist> distList = new ArrayList<Dist>();
    private List<SpecialAppt> ppsAppList = new ArrayList<SpecialAppt>();
    //etc...
}

public class Dist  {....}

public class SpecialAppt { ...}

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...