Jump to content
JasperReports Library 7.0 is now available ×

csaadaam

Members
  • Posts

    4
  • Joined

  • Last visited

csaadaam's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi! I've been facing the same issues. The applet was signed, but could not print in a function called from javascript. For this issue the solution was what i saw on SO: http://stackoverflow.com/questions/1577290/signed-java-applet-throws-security-exception-on-connect-to-a-webservice The actual print method should be called from within a doPrivileged section (otherwise only from within the applet could the method gain access to the printer): try { AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run(){ print(url, options); return null; } }); } The other issue, the ClassNotFoundException of JRPrinterAWT$1 could be solved with adding the actual class file from the jasperreports-4.0.1.jar to the applet project in a class folder (http://stackoverflow.com/questions/661110/how-do-i-include-class-files-in-my-project-in-eclipse-java). Best Regards, Adam
  2. I just found the right example. Thank you very much for your help!
  3. Could you post some tutorial or example? In all the tutorials i could find, i see only subreport after subreport, individually. Thanks
  4. Hi! I'm trying to create a report with the following structure: Group1 (CostAccountHead) ->Group2(CostAccountItem) -->Group3.1(CostAccountValue) -->Group3.2(VatDetails) The CostAccountValue and VatDetails tables have the CostAccountItem in common, so i'd like to report them, grouped like this. The problem is, i would like to list the CostAccountValue entries and then the VatDetails entries, like this: Head1 Item1 Values: value1 value2 VAT details value1 value2 Item2 Values ... VAT details ... Head2 ... And so on. I am not able to put two groups after each other , only group in group. I think two subreports are not the solution, b/c it then would be: Head1 Item1 Values Item2 Values ... VAT VAT VAT And so on. But, if i try to put them in one group, i think the outcome would be: Head1 Item1 value1 VAT1 value2 VAT2 And that would be just bad. Is there any solution? I've tried also in iReport and in the XML, not seeing the way out. Should i just make two reports (or two subreports in one)? It would be very nice to see it the way i explained above. Thanks
×
×
  • Create New...