Jump to content
We've recently updated our Privacy Statement, available here ×

rbojja

Members
  • Posts

    145
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by rbojja

  1. rbojja

    Blank Pdf

    Hi, In line subreport = (JasperReport) JRLoader.loadObjectFromLocation("subreport.jasper"); and JasperRunManager.runReportToPdfFile("masterreport.jasper", parameters, connection); why are we using .jasper? what if we use .jrxml. can you explain a bit on this.
  2. rbojja

    Blank Pdf

    thanks for the reply. i am working on java application but not on a web application. can you give me the piece of code in java. thanks
  3. rbojja

    blank pdf

    Hi, I had attached the files but in next topic with subject line same as this 'blank pdf'. I have a query in both main and subreport. Is my java code fine.can you attach a sample code explaining step by step. Thank you
  4. rbojja

    Blank Pdf

    Forgot the attachment Hi i am generating subreport.But the output i see is blank pdf. please see the attachment for my jrml/jasper files. java code is as follows. JasperDesign jasperDesign = JasperManager.loadXmlDesign("src/Salett.jrxml"); JasperReport jasperReport = JasperManager.compileReport(jasperDesign); JasperDesign jasperDesign1 = JasperManager.loadXmlDesign("src/SaleReturnExchange_subreport1.jrxml"); JasperCompileManager.compileReportToFile(jasperDesign1,"src/SaleReturnExchange_subreport1.jasper"); JasperReport jasperReport1 = JasperManager.compileReport(jasperDesign1); Map parameters = new HashMap(); parameters.put("Report1","src/SaleReturnExchange_subreport1.jasper"); can any one correct me. Post edited by: rbojja, at: 2008/07/11 11:55 [file name=New_Folder-c04373bdb683d6e87df8048a69c23ad6.zip size=12232]
  5. rbojja

    blank pdf

    Hi i am generating subreport.But the output i see is blank pdf. please see the attachment for my jrml/jasper files. java code is as follows. JasperDesign jasperDesign = JasperManager.loadXmlDesign("src/Salett.jrxml"); JasperReport jasperReport = JasperManager.compileReport(jasperDesign); JasperDesign jasperDesign1 = JasperManager.loadXmlDesign("src/SaleReturnExchange_subreport1.jrxml"); JasperCompileManager.compileReportToFile(jasperDesign1,"src/SaleReturnExchange_subreport1.jasper"); JasperReport jasperReport1 = JasperManager.compileReport(jasperDesign1); Map parameters = new HashMap(); parameters.put("Report1","src/SaleReturnExchange_subreport1.jasper"); can any one correct me. Post edited by: rbojja, at: 2008/07/11 11:55
  6. Hi, I had seen the demo code of subreport ,but i am not able to understand the code. can any one give the code in simple steps 1)how to pass main report xml 2)how to pass subreport xml 3)how to pass .jasper file 4)how to pass hashmap params in details step by step java code
  7. HI can any give me the demo code or guide me in programming subreports. here is my code: JasperDesign jasperDesign = JasperManager.loadXmlDesign("src/Salett.jrxml"); JasperReport jasperReport = JasperManager.compileReport(jasperDesign); JasperDesign jasperDesign1 = JasperManager.loadXmlDesign("src/SaleReturnExchange_subreport1.jrxml"); JasperCompileManager.compileReportToFile(jasperDesign1,"src/SaleReturnExchange_subreport1.jasper"); JasperReport jasperReport1 = JasperManager.compileReport(jasperDesign1); gives me blank pdf..and what parameters do i need to pass in HashMap.. can any one give me sample demo code
  8. can you send me the code for executing subreports in java
  9. HI i created a master report and subreport on iReport tool It is working fine on iReport. Now i need to integrated this master and subreport on my webapplication. How to call a subreport here.I am stuck here. Any sample code will help me . Thanks
  10. HI, I have a master report and subreport. The data in the subreport is not similarly aligned to that of the master report. I tired setting the width and height same for both the reports. Thanks
  11. rbojja

    Help Plz

    Hi all, I am asking a question based on my client input.If this sounds silly please excuse me. The requirement is i am fetching a list of values from the database and showing on the detail band. Below the detail band i show a static text of 30 lines which shows all the terms and conditions/policies of the client. If the lines in the detail band increases the static text below the detail band goes to next page.I want to shrink the data such that the report fits in single page only. I am going nuts seeing this reuirement. Hope you understand my client. Thanks
  12. Hi please see the attachment and provide a better solution please. I am breaking my head. [file name=solution_plz.doc size=25088]
  13. Hi, I need one more band similar to detail band. Can any one help me on this? One more thing,is the detail band is the only band supports multiple values/repeated values to be shown on this band. If i need a seperate band for showing multiple/repeated values how do i create a similar band of detail band. Thanks
  14. HI As we have tag in html for providing any space what is that supports in Jasper.
  15. Hi Lucian, Thanks for your reply.I didnt know that using <style> tag and its attributes works simialr to html tags. This solves my problem. Thank you very much
  16. Lucian, Is this possible in Jasper?
  17. Hi Lucian, Please see the attachment for reference the way of representing the text on pdf. The below given solution works fine,but if any change of width/height doesnt show the desired result.And more over the text is also show in large font. I seperated the dot and text into two static text elements but still representing dot is a big task for me. Can you correct me if i am going wrong. [file name=for_u_r_reference.doc size=24064]
  18. Hi all, I installed iReport-2.0.4 on my system.when tried to work on iReport tool it is giving me an error'couldnt find main class' program will exit. please see the attached document for issue screen shot. Any one has an idea of what the issue is? i am usind jdk1.4.2 Thanks Post edited by: rbojja, at: 2008/06/25 07:00 Post edited by: rbojja, at: 2008/06/25 07:02
  19. Hi, Is jasperreports-2.0.5 and jdk 1.4.2 compatible? which jdk is best for jasperreports-2.0.5?
  20. Hi all, I had developed my jasper reports on jdk1.5 version and deployed on my server which has jdk1.4 version. Here the pdf is generated as text overlapping,and font inconsistencies.. whats the issue.Its the issue of jdk or else any other issue
  21. HI all Iam passing the report parameter value as $p{param1} and $p{param2}. But it is throwing an exception as report parameter not found. When i send a conshard coded value in the report query it works fine. sending the report param as dynamic is not working. whats the issue here Thanks
  22. Hi, Is jasper compatible on jboss. I had developed jasper reports and using jboss as my application server.Here comes the issues. I tried fixing all of those searching the forum..but still one or the other issues comes.. Can any one tell me whats the compatible version of jboss and jdk if so to work on jasper. Thanks,
  23. java.lang.IllegalAccessError: tried to access field org.apache.commons.digester.Digester.log from class org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule at org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule.body(SetNestedPropertiesRule.java:393) at org.apache.commons.digester.Rule.body(Rule.java:240) at org.apache.commons.digester.Digester.endElement(Digester.java:1028) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150) at com.osi.pos.common.util.PrintReceipts.printMethod(PrintReceipts.java:28) whats the problem ?
  24. Hi, The solution is fine for seeing a dot using the style sheet.But when it comes to scenario where i have a text say Welcome to Jasper Reports i need a dot in the beginning of the text. ie .Welcome to Jasper Reports. i am unable to show the dot in large size before the text. say my text is of times new roman '8' font and i need a dot here.
  25. Hi, I am showing a field value on column footer of the page. In the database for the field $F{COnsummations} it has multiple records. But when i place this field $F{COnsummations} in column footer i get a single record from database. I need to fetch all the records for this field. (I had checked the print repeated values in iReport) can any one tell me how to show multiple value records in other bands except in detail band. Thanks
×
×
  • Create New...