Jump to content
Changes to the Jaspersoft community edition download ×

aniruddh4u

Members
  • Posts

    21
  • Joined

  • Last visited

aniruddh4u's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. http://developers.sun.com/jscreator/learning/tutorials/2/reports.html this will help you
  2. Are you sure.... you put all fields in detail band -- Aniruddh
  3. Check wheather you have all jasper jar files in your lib folder. --- Aniruddh
  4. Good to start with... http://www.devx.com/Java/Article/29309/0/page/1
  5. Hi,, You can't change query dynamically like for condition1 .... QueryA or condition2...QueryB but yes ireport 1.3.1 support u writing filter expression for query in this you can write expression -- Aniruddh
  6. Hi,, You can use JavaBean DataSource ..one of field will return list which you can passto subreport to view data.. -- Aniruddh
  7. i guess it can be a final solution .. cause we hv report inventory project running for a investment bank firm but never got deadlock on production environment... ----Aniruddh
  8. Hi.. Even Loading and Compilation task as well as Report Design task you can do mannually using tools like iReport.... aniruddh
  9. Hi, I developer report using ireport on chart control i'm set some properties for tooltip... I'm in using timeseries chart ... so while configuring series information i'm also configuring it for tooltip. After saving file when i'm reopening same jrxml again.... i can't see tooltip configuration information but rest of my work i can see.... Can any1 tell me is it bug in iReport? ---Aniruddh
  10. Hi can you place to code how your generating report from java like there are 2-3 different approach of creating report from jrxml.. 1. JasperPrint jasperPrint = new JasperPrint(); Connection conn = null; Map inputParameters = new HashMap(); inputParameters.put("sometitle","first report"); conn = your database connection you get from your driver (using jt400) JasperReport jasperReport = JasperCompileManager.compileReport("input.jrxml"); jasperPrint = JasperFillManager.fillReport(jasperReport, inputParameters, conn); // for a pdf JasperExportManager.exportReportToPdfFile(jasperPrint, outputFile.pdf); or 2. String path = request.getRealPath("jasper"); path = path + "/AgingReportForCoverageArea.jasper"; HashMap map = new HashMap(); JasperPrint jasperPrint = JasperFillManager.fillReport(path, map, connectDB()); //Block to check viewer selected String viewer = request.getParameter("viewType"); if(viewer.equalsIgnoreCase("0")){ // Open report in HTML response.setContentType("text/html"); JRHtmlExporter exporter = new JRHtmlExporter(); exporter = new JRHtmlExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_WRITER,response.getWriter()); request.getSession().setAttribute( ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE,jasperPrint); exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, new HashMap()); exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI,request.getContextPath() + "/images?image="); // In This "images" is name of folder which contain images exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR_NAME,request.getRealPath("images")); exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR,true); exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND,true); exporter.exportReport(); }else{ // Open report in PDF response.setContentType("application/pdf"); JRPdfExporter exporter = new JRPdfExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,response.getOutputStream()); exporter.exportReport(); } cause compiling jrxml in java code itself every time when running report might use you memory and make ur application slow
  11. instead of new Boolean(!$V{SubrptCount}.intValue() == 0) use new Boolean($V{SubrptCount}.intValue() != 0) -- Aniruddh
  12. Hi, I got solution to this problem now for each series i can show tooltip as well as external link using ireport tooltip facility but its working only for HTML not for PDF can any1 tried tooltip for pdf report
  13. Can any1 tell me how to generate tooltip and achor for each series of time series chart and bar chart ? thanks in advance... Aniruddh
  14. "Equipment: " + $F{EQ_EQUIP_NO} + "Year" + $F{YEAR} make sure that EQ_EQUIP_NO and YEAR fields are of type java.lang.String..... ...Aniruddh
  15. can u tell what u hv written in printwhen expression ? ---Aniruddh
×
×
  • Create New...