Menu

Charts and SubReports ?

Report
birdz
2004-11-24
2013-03-22
  • birdz

    birdz - 2004-11-24

    Hi all,
    I finally succeed to integrate JasperReports to Compiere with this solution. But it only works with simple reports. Is it possible to make it work with Charts and SubReports. How ? Has anyone a solution ?

    Thank you in advance.
    Stephane.

     
    • Marco LOMBARDO

      Marco LOMBARDO - 2004-12-01

      The reference implementation inside rus.jar that was used by Peter treats subreports also. I don't know about the Peter implementation that I want to say it's a great work.
      rus.jar compile the TestJR.xml file and every file named TestJRxxxxx.xml that is expected to be subreports.

      I'm knew to this community so HI all.

      Regards,

      Mar

       
    • birdz

      birdz - 2004-12-06

      It works perfectly with simple reports.
      But now, when I try to make more complex reports, like subreports or charts, it doesn't work anymore.
      I have a masterreport (testreport.jrxml) and a subreport (testreportsub1.jrxml).
      When I run the process, only the masterreport compiles.
      Even, if I put the two files .jasper in my " C:\Compiere2\reports\", I have this error :
      "13:05:44,093 ERROR [Log] ReportProcessor.JasperManager: Can not fill
      Report -dori.jasper.engine.JRException: Could not load object from location : C:\Compiere2\reports\testreportsub1.jasper"
      and
      " NESTED BY :
      dori.jasper.engine.JRException: Class not found when loading object from
      file :
      C:\Compiere2\reports\testreport.jasper"

      The same thing happens with charts.

      Does anybody have an idea where the problem is ? What do I do wrong ?

      Regards,
      Stephane

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.