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

kingananth007

Members
  • Posts

    20
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by kingananth007

  1. Call /DATA/ (u can access both high level & low level) and use a subreport a subdatasource(/DATA/ACCOUNTS) this way u can have single call to DB.
  2. Ideally a report can have single datasource - say Create an Object that has all the object arrays (your collection Objects) that you require for the report and pass this single object as bean data source and fill your report. one more solution - Print all your bean collection DS separately and later stich it.
  3. Xpath of this value /DATA/ACCOUNTS/ and a detail band in will solve your prob.if nt need to see your template and xml source file
  4. Design a MasterReport - Have a group band - Place all your Common data (need to specify your grouping column) - place 2 Sub Reports after the common data Sub reports: Design MasterReport_Subrepot_1 & MasterReport_Subrepot_2 Have your detail band here and display your featured data
  5. cant digest the way you fixed that...also there is a standard in naming convention try to adhere to it.
  6. Problem 2 - Use ARIALUNI.TTF which is a opensource. Keep that font in your class path..that will do. Problem 1 is nt clear to me.
  7. Hi , Is there any provision in jasper to reduce default line spacing in PDF export ? Cheers, Ananth
  8. Code:Hi, I have a requirement in my project. I need to do some currency specific formatting in Amount Field. Say if the currency is HKD then decimal places is 1,000.00 currency is KWD then decimal places is 1,000.000 currency is JPY then decimal places is 1,000 I dont need any default pattern for Amount field Is there any dynamic pattern available for this case? Thanks in Advance. Cheers, Ananth
  9. Code:Is there any query time out parameter that can be passed inside jasper ? So that if any query takes more time it will out of that particular task.
  10. definitely you will be having a separate service,form bean and rule file for report. You can set that document in cache through your javascript and you can access that through your rule file using the attribute "CDF Document".
  11. Hi Lucian, Thanks for your reply. I went through the FontMapDigester.zip attached by teodar You mean to say i can pass the XML file with font entries to FONT_MAP parameter directly ? or after parsing externally using the sample FontMapDigester.java and then pass that to FONT_MAP Parameter ? Because i couldn't find any related files that parses XML file for font inside the source of Jasper and pass it as a parameter. Can you advice me on this? Regards, Ananth
  12. Hi , I peeped into this following link: (obsolete link deleted) and found that there is an option to load Report-Font from XML and it can be set in JRExporterParameter.FONT_MAP_FILE_NAME. And there is a comment from teodar saying that it has been fixed in JR 3.1.3 release. I went through the Jasper Source of JR 3.1.3 and JR 3.5.0 and found out that there is no entry for "FONT_MAP_FILE_NAME" in JRExportParameter class. Can any body advice me that this option is there in Jasper or not ? Thanks in advance -Ananth-
  13. Hi, even me facing the same problem.Do u have solution for this.? Thanks -Ananth-
  14. ----issue fixed---- Previously i had both ireports-2.0.2.jar and ireports 2.0.5.jar under my "lib/jasper" folder..this caused me problem.. I removed that older version "ireports-2.0.2.jar" and kept only ireports-2.0.5.jar. This helped me to build jasper sucessfully. If you guys get the same problem in future..This may help you..
  15. hai all, I have developed my reports using "ireport 2.0.2".When i try to open that using "ireport 2.0.5" i am getting a compability warning which says"this report has some deprecated tags,ireport will convert them using the appropriate new syntax.you can choose to keep this report compatible with the previous version of jasper reports,instead,but this may result in the loss of formatting information or parts of your reports." When i try to build jasper for the report i am gettin the following exception: File : C:TINGTradeTIreportsjrxmlTTI2030Detailed.jrxml ... FAILED. [jrc] Error compiling report design : C:TINGTradeTIreportsjrxmlTTI2030Detailed.jrxml [jrc] net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Element type "pen" must be declared. [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152) [jrc] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:116) [jrc] at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:413) [jrc] at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:259) [jrc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [jrc] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) [jrc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [jrc] at java.lang.reflect.Method.invoke(Unknown Source) [jrc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) [jrc] at org.apache.tools.ant.Task.perform(Task.java:348) [jrc] at org.apache.tools.ant.Target.execute(Target.java:357) [jrc] at org.apache.tools.ant.Target.performTasks(Target.java:385) [jrc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) [jrc] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) [jrc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [jrc] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [jrc] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) [jrc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) [jrc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) [jrc] Caused by: org.xml.sax.SAXParseException: Element type "pen" must be declared. [jrc] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [jrc] at org.apache.commons.digester.Digester.parse(Digester.java:1647) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) [jrc] ... 22 more ------------------ Plz anybody help me to sort this problem.. Thanks, Ananth
  16. you jus try for one field.I am using derby client.where i have a field with datatype clob..there i can retireve..you jus try with one field and check.
  17. you jus try for one field.I am using derby client.where i have a field with datatype clob..there i can retireve..you jus try with one field and check.
  18. hi, IN document structure-->Field-->right click the field what you have included in the report(which has this clob datatype) edit it. and chage the field class type as java.lang.string. and then u start using it in your report.
  19. Hi all, I am developing a Report which supports Multi language.so i am using a property file called i18n_en_US.properties file for English language. There i have a key value called "Extra Goods /Documents /Additional conditions" when i generate the report using Resource Bundle. I cant able to retieve the value after "slash" ie., i am getting only Extra goods.. Also i have another key valye "Expiry / Renewal date".I have no problem with this key value,i am gettin this value when i generate the report. Please givemmme some solution to this. Thanks, Ananth :(
×
×
  • Create New...