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

2002 JI Open Discussion

Members
  • Posts

    1,481
  • 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 2002 JI Open Discussion

  1. By: tomcat006 - cattomson Find docs about creating subreport!!! 2004-08-17 19:19 who have docs about how to creat a subreport i need to use subreport ,but i did't know how to make it !thanks! By: joking - neuzq RE: Find docs about creating subreport!!! 2004-08-21 23:50 http://ireport.sourceforge.net/docs.html The Video tutorials are very good! By: borma - borma RE: Find docs about creating subreport!!! 2005-04-13 05:54 what about setting path, so it works in Java all files are in 1 folder so i have no path to subreport "subreport1.jasper" and it works in iReport 0.4.1 But if I run it from java I get exception like that, could anyone help with that path, main idea that it would work on Linux server also JaspService >> TASK_FILLE:javaeclipseworkspaceJasperTestfilesreport_head.jasper net.sf.jasperreports.engine.JRException: Could not load object from location : subreport1.jasper at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLoader.java:306) at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:338) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:383) Post edited by: tcloonan, at: 2006/09/02 10:17
  2. By: anton_phil - anton_phil Errro retrieving TIME values 2005-04-11 19:56 Hi, I've been using iReport for couple of months now and its my first time to encounter an error regarding TIME values save in a PostGresSGQ database. I have a field in table A that is of TIME property in POstGreSql. Stores TIME values. eg: 13:23:23 (1:23:23 pm). I've created Report A using Report wizzard with, say the ff query SELECT * FROM "table". Afterwhich it correctly displays the required fields. When you click on the TIME field that the report has made, it has the Textfield Expression Class = java.util.Date by default. But when you run the report with database data included an error comes up.. net.sf.jasperreports.engine.JRException: Unable to get value for field 'Time' of class 'java.util.Date' Any input guys? Thanks in advance Filling report... Error filling print... java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.substring(String.java:1441) at org.postgresql.jdbc2.ResultSet.toDate(ResultSet.java:1570) at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java:372) at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java:607) at net.sf.jasperreports.engine.JRResultSetDataSource.getFieldValue(JRResultSetDataSource.java:164) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:519) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:120) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:291) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:207) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:521) at java.lang.Thread.run(Thread.java:534) NESTED BY : java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.substring(String.java:1441) at org.postgresql.jdbc2.ResultSet.toDate(ResultSet.java:1570) at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java:372) at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java:607) at net.sf.jasperreports.engine.JRResultSetDataSource.getFieldValue(JRResultSetDataSource.java:164) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:519) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:120) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:291) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:207) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:521) at java.lang.Thread.run(Thread.java:534) NESTED BY : net.sf.jasperreports.engine.JRException: Unable to get value for field 'Time' of class 'java.util.Date' at net.sf.jasperreports.engine.JRResultSetDataSource.getFieldValue(JRResultSetDataSource.java:279) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:519) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:120) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:291) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:207) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:521) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.substring(String.java:1441) at org.postgresql.jdbc2.ResultSet.toDate(ResultSet.java:1570) at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java:372) at org.postgresql.jdbc2.ResultSet.getDate(ResultSet.java:607) at net.sf.jasperreports.engine.JRResultSetDataSource.getFieldValue(JRResultSetDataSource.java:164) ... 9 more By: Daren O - rckrll106 RE: Errro retrieving TIME values 2005-04-12 06:31 It appears in Misc.java the method getJdbcTypeClass is setting date and time to date. case java.sql.Types.DATE: case java.sql.Types.TIME: cls = "java.util.Date"; Not sure why but seems like the problem. Maybe there is a reason or maybe this can be fixed in the next version.
  3. By: allie - allie910 Error Filling Print 2005-04-11 19:10 Hi all, I am new with this iReport and Jasper =) I am now testing my iReport to make sure that evrything is ok.. I followed the tutorial, but when I compiled a blank report to test the setting, I got this error msg : Filling report... Error filling print... java.lang.NullPointerException at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:413) at java.lang.Thread.run(Thread.java:536) Print not filled. Try to use an EmptyDataSource...! when I tried to use emptyDataSource it was okay.. but I need to use the the datasource to create the report =) Anybody can give me a clue ? Thank you very much ^^
  4. By: smitha - smitha_anju Export to excel without any formatting 2005-03-03 21:08 Is it possible to export a report to excel without any formatting. Presently when exporting to excel is done with formatting, some rows are merged/hidden etc.. I am using the following code: JRExporter exporter = new JRXlsExporter(); exporter.exportReport(); By: David - dnarmitage RE: Export to excel without any formatting 2005-04-11 14:37 I don't know if this is appropriate, but would exporting as CSV sort this for you as Excel should automatically open up a CSV file, and you will have no formatting at all. If so try something like: JRCsvExporter exporter = new JRCsvExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT,jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,p_fileOut); exporter.exportReport(); David
  5. By: sri - sriniv007 Problem creating PIE charts using XML Datasrc 2005-04-11 01:39 i need to generate a PIE chart from xml file using XML DATASOURCE, i need a pie chart for the A,B,C values . i am using ireport 1.4.1 & jasper 0.6.5 My file is as follows : <?xml version="1.0" ?> <segments> <segment> <code>1000</code> <segmentname>wer</segmentname> <value>100</value> <description>A</description> <A>200</A> <B>400</B> <C>600</C> </segment> </segments> Please forward your toughts on this.. S
  6. By: savvy - savvyme Addressbook sample 2005-04-05 17:46 its me again... from the addressbook sample given in http://ireport.sourceforge.net/cap7.html#7.1 (Using the XML Datasource): <addressbook> <category name="home"> <person id="1"> <LASTNAME>Davolio</LASTNAME> <FIRSTNAME>Nancy</FIRSTNAME> : </person> : <category> : <addressbook> the Record Path of XML file Datasource is /addressbook/category/person. what should be the field description of CATEGORY? the one given in the sample (/addressbook/category@name) produce an error (Extra illegal tokens: '@', 'name')... for LASTNAME AND FIRSTNAME, using the field description in the sample, produce an error as well. i used 'LASTNAME' and 'FIRSTNAME' as its XPath then it's OK. But for CATEGORY, i really can't figure out what to use... can anyone pls help me with this? thank you in advance...
  7. By: quiq - quiq problem running the Addressbook example 2005-04-04 03:16 Hi all. i get this error when i trying to run the XMldatasourse example : Filling report... Error filling print... org.apache.xpath.XPathException: #NUMBER kann nicht in NodeList konvertiert werden! at org.apache.xpath.objects.XObject.error(Unknown Source) at org.apache.xpath.objects.XObject.nodeset(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectNodeIterator(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectSingleNode(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectSingleNode(Unknown Source) at net.sf.jasperreports.engine.data.JRXmlDataSource.getFieldValue(JRXmlDataSource.java:378) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:160) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:472) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:388) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:526) at java.lang.Thread.run(Unknown Source) NESTED BY : org.apache.xpath.XPathException: #NUMBER kann nicht in NodeList konvertiert werden! at org.apache.xpath.objects.XObject.error(Unknown Source) at org.apache.xpath.objects.XObject.nodeset(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectNodeIterator(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectSingleNode(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectSingleNode(Unknown Source) at net.sf.jasperreports.engine.data.JRXmlDataSource.getFieldValue(JRXmlDataSource.java:378) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:160) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:472) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:388) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:526) at java.lang.Thread.run(Unknown Source) NESTED BY : net.sf.jasperreports.engine.JRException: XPath selection failed. Expression: /addressbook/category/person+LASTNAME at net.sf.jasperreports.engine.data.JRXmlDataSource.getFieldValue(JRXmlDataSource.java:380) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:890) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:691) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:160) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:472) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:388) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:526) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.xpath.XPathException: #NUMBER kann nicht in NodeList konvertiert werden! at org.apache.xpath.objects.XObject.error(Unknown Source) at org.apache.xpath.objects.XObject.nodeset(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectNodeIterator(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectSingleNode(Unknown Source) at org.apache.xpath.CachedXPathAPI.selectSingleNode(Unknown Source) at net.sf.jasperreports.engine.data.JRXmlDataSource.getFieldValue(JRXmlDataSource.java:378) ... 8 more Print not filled. Try to use an EmptyDataSource...! The Field "LASTNAME" is defined as follow: /addressbook/category/person+LASTNAME. please help me? thanks in advance Inga.
  8. By: sashi - sashis problem running the Address Book example 2005-04-04 00:54 Hi all. i get this error when i trying to run the XMldatasourse example , the error is as follows java.lang.noClassDefFoundError : dori/jasper/engine/JRException there is a reference to this file in : XMLDataSourceExample file please help me? thanks in advance sashi
  9. By: SandeepRam - sandeepram iReport - report Generation problem 2005-03-26 02:42 hi, i have downloaded the newer version iReport 0.4.1 and start working on it. Earlier i was using iReport 0.1.0 to create the jasper from xml. While i am using the same xml that was designed through iReport 0.1.0 , to compile to jasper and thus to generate pdf by the newer 0.4.1 , the resulting pdf print doesnt contains the title and header !! only detail section and summary are generated by the iReport 0.4.1. whats the reason?? My old iReport 0.1.0 uses jasperreports-0.5.3.jar and the iReport 0.4.1 is now using jasperreports-0.6.3.jar. can anybody help?? with regards sanram
  10. By: Darren Davis - ddavis539 Barcode Height 2004-07-10 21:33 I downloaded the last version of IReport and am pleased to see the new Barcode integration. The one problem I have with it is that the height of the barcode seems fixed to about 1 cm (when generating a pdf), and that is too short for the people I am building the report for. The requirement is to have one at least 3..4 CM high on the page. Adjusting the width of the barcode field does affect the spacing within the barcode, but changing the height does nothing. I'm not sure if this is a limitation in iReport, JasperReports or the Itext tool. I've looked at the source code to iReport and don't see a paramater the set the barcode height in calls into Jasper Reports. Any help would be appreciated. By: Darren Davis - ddavis539 RE: Barcode Height 2004-07-12 17:32 Thanks for the response. I looked at the barbecue source code and found two useful methods: setBarHeight() setBarWidth() It would be nice to make these two properties accessible inside the barcode graphic component. For now, I've modified the source code to set the property values I need when creating the 128C barcode. By: Giulio Toffoli - gt78 RE: Barcode Height 2004-07-12 01:41 For now there is no solution, the phisical barcode height is fixed. We'll provide a solution but for now the only way is to modify the class that produce the barcode image imposing a better height . Giulio By: Darren Davis - ddavis539 RE: Barcode Height 2005-03-24 11:18 Giulio, Are you still planning on addressing the barcode height issue within iReports? Post edited by: tcloonan, at: 2006/09/02 10:16
  11. By: C-Box - c-box PluginBuildingProblems :-) 2005-03-11 04:10 Hi Giulio, i open a new thread to post my problems I encounter while building my DataBasePlugin for IReport - so I can post any new question here. :-) so the first (new) question is: I load reports via my Plugin directly from database into IReport... works fine so far. When I update the changed report I have to reload the report from database again, because some IDs changed within the ReportObject. So I load easily a whole ReportSet again (a ReportSet is a kind of project... holding multiple Reports that build the ReportSet)... when RELOADING the whole reports the anoying Message appears (from: javax.swing.JOptionPane.showConfirmDialog(this, filename +"nnThis file has been modified outside iReport.Do you want reload it?","iReport",javax.swing.JOptionPane.INFORMATION_MESSAGE);) in normal cases it's okay to ask, but not in this - because I know that each report of the set has changed... so could you please add a parameter like (boolean doAskForReload) to your public method "checkForModifiedFiles" within mainframe class that when set to true (normal state) the question appears and when set to false then just reload without question? I guess a very little change but a great help for me. (now I must click up to 10 times of "YES" when I reload a ReportSet from DataBase. waiting for your comments + tia + greetings from Germany C-Box By: C-Box - c-box RE: PluginBuildingProblems :-) 2005-03-17 07:37 Hi Giulio, it's me again. I have (of course) another problem: I must delete the temporarily stored files when closing my plugin - that's no problem. But when not logging off from the Database, but closing IReport instead, a method of my plugin must be called yet. So I suggest: make a "close" method to your interface that a plugin must implement. And when closing the whole application IReport should iterate through all registered plugins and call the close method. what do you think about it? Greetings from Germany C-Box By: C-Box - c-box RE: PluginBuildingProblems :-) 2005-03-21 02:39 Seems to become a monologue here!?!? What about the "isDirty" method you provide on the Report Object.... I searched the source for it and guess its always set to true when something on the report changes - but it doesn't work like I imagine (and I guess you wanted). Here my Szenario: load a set of 10 reports... changing one of them .. but don't store... after that I load another set of 8 reports -- but one report of the new set is the same like in the old set ( I do reuse SubReports in different sets to avoid double definitions of the same presentation logic)... now I would overwrite my changes with the old version from database... so I thought, when loading a report into IReport I could check the "isDirty" method... but that method returns FALSE although I changed a static text fields text and also its position.... So Giulio, could you please take a look on the "isDirty" method so that I get to know changes on a report when the report isn't stored. In your interface "ReportListener" you described it as follows: /** * This listener handle all report events regarding selection and changes. * A single event (excluse reportElementsSelectionChanged) can mark * a document as "dirty". * * @author Giulio Toffoli */ tia + again sunny greetings from Germany C-Box
  12. By: NCK - old2002 iReport Parameter problem 2005-03-16 01:57 Hi all, It is my first time to use this iReport I got a problem about the iReprot parameter. I dont know how to use this function in iReport. What feature can I get ? Can I use this parameter function to pass into Report query? thx By: C-Box - c-box RE: iReport Parameter problem 2005-03-17 03:54 What are you talking about? Do you mean the ParameterFunction within IReport itself to pass some values to a certain report? Or do you mean the parameters when starting the IReport-Application? C-Box
  13. By: Doron - dgan New Completely Web based report designer 2005-03-10 12:27 Hi, We've just released an alpha version of a web based open source report designer. We'd like to get people to have a look and let us know what they think. Check it out: http://www.bzbyte.com -Doron
  14. By: Tom Prodehl - tomprodehl right side border does not display 2005-03-01 13:15 Specify a border for a static or text field element but in layout, the right border does not display. By: Tom Prodehl - tomprodehl RE: right side border does not display 2005-03-03 09:52 Never mind, somewhere the color of the right side border was changed to white.
  15. By: Tom Prodehl - tomprodehl 0.4.1 border/box problem 2005-03-01 13:14 Specified a thin border around a static text field and a textfield element but the box element does not appear in the jrxml file and so no border is displayed. By: Giulio Toffoli - gt78 RE: 0.4.1 border/box problem 2005-03-03 06:24 Check compatibility options. Be sure you are creating jarxml for jr 0.6.4 or greater By: Tom Prodehl - tomprodehl RE: 0.4.1 border/box problem 2005-03-03 09:48 Compatibility, eh. Didn't know about that. Now it shows, but missing the right side just as displayed in layout (see other post) Thanks for the reply.
  16. By: nikman - nikman12 If word don't fit into TextField 2005-01-18 01:47 Hi! If contents of TextField consists of two words separated by space or '-' and the second word does not fit entirely in TextField, then this second word is not printed at all. But I need that the PART of this word that is fit to cell to be printed. I realy need it. Please, help!!! By: Jte - jte_rem RE: If word don't fit into TextField 2005-03-03 08:12 There is no way to dynamically change the text field, but if you make the text field large enough? The part of the second word should show - I presume that you are using "word1" + " " + "word2" in the text field content,....
  17. By: Eric Tam - hy_tam Exception UnsupportedClassVersionError Thrown 2005-02-06 18:56 i am a beginner of using iReport, when i start the iReport with iReport.bat, i've got an exception UnsupportedClassVersionError thrown, following is the screen dump Exception in thread "main" java.lang.UnsupportedClassVersionError: it/businesslo gic/ireport/gui/MainFrame (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10 6) at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) at java.net.URLClassLoader.access$100(URLClassLoader.java:51) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) Do anybody have idea of this problem? jdk version: 1.3.1_07 iReport version: 0.4.1 Many Thanks, eric By: Jte - jte_rem RE: Exception UnsupportedClassVersionError Thrown 2005-03-03 08:09 yes the problem here is that the version of JasperReports that you are using is not compatible with the JDK version that you are working from. You may need to download an older version of JasperReports to solve the problem. Or else upgrade to a new version of the JDK By: Kees Kuip - keeskuip
  18. By: Kees Kuip - keeskuip iReport in 1 jar? 2005-02-06 13:08 Hey Giulio, How to you feel about distributing iReport in 1 executable jar? It has a number of advantages: - It acts as if it is an executable. Just doubleclick it and iReport starts. - It is much easier to install. (no more classpath problems) - It is much easier to distribute. I found a project which does this. It is at : http://one-jar.sourceforge.net/ I could write an ant-task which creates this jar. Would you be interested in adding it to the project? Kees Kuip. By: C-Box - c-box RE: iReport in 1 jar? 2005-02-07 00:58 I'd also like it, but it must be for sure that you can add some additional jar's into the ClassPath for IReport. We are using some own classes within our reports (for datasources and so on)... that classes are needed when compiling a report. Now we added our class-path to the startup.bat and there are no problems. Can the "One-Jar" project handle external classes to be available within the "One-Jar-MainClass" ? Or must they get included within that big "One-Jar" ??? Also the plugin-Architecture must work like it does now. Guilio loads now the plugins from classpath where a plugin.xml exists. C-Box By: Kees Kuip - keeskuip RE: iReport in 1 jar? 2005-02-27 06:06 I found out that this can be easily done with the standard functionality of ant. The following ant-task will do the trick. (including templates and plugins) (using ant 1.6.2): <target name="neojar" depends="jar"> <jar destfile="neojar.jar"> <manifest> <attribute name="Built-By" value="iReport"/> <attribute name="Main-Class" value="it.businesslogic.ireport.gui.MainFrame"/> </manifest> <zipgroupfileset dir="${lib}" includes="**/*.jar"/> <fileset dir="${lib}" excludes="**/*.jar"/> <zipgroupfileset dir="${target}" includes="**/*.jar"/> <fileset dir="${target}" excludes="**/*.jar"/> <fileset dir="${basedir}" includes="templates/** plugins/**"/> </jar> </target> By: Giulio Toffoli - gt78 RE: iReport in 1 jar? 2005-03-03 06:29 I created a way to load templates directly from jar. The logic is the same applied to plugin: you can now define a set of templates including a file ireport/templates.xml In this way I solved all filesystem dependency of iReport (except for the configuration file). Giulio
  19. By: smitha - smitha_anju Problem Displaying Arabic font in pdf 2005-03-02 22:12 I am using the following code to export my jasper reports to PDF the code is working fine if the report has only english or alphanumeric data. In my case I have some English and arabic texts mingled together. In this case while exported to pdf the english fonts are displayed properly but the arabic fonts are overlapped and some times not displayed. JRBeanArrayDataSource rptDS = (JRBeanArrayDataSource)session.getValue("BEAN_DATASOURCE"); rptDS.moveFirst(); String reportrealPath = (session.getValue("JASPER_NAME")).toString(); Map parameters = (HashMap)session.getValue("PARAM_MAP"); File reportFile = new File(application.getRealPath(reportrealPath)); byte[] bytes =JasperRunManager.runReportToPdf(reportFile.getPath(),parameters,rptDS); response.setContentType("application/pdf"); response.setContentLength(bytes.length); response.setHeader("content-disposition", "attachment;filename=report.pdf"); ServletOutputStream ouputStream = response.getOutputStream(); ouputStream.write(bytes, 0, bytes.length); ouputStream.flush(); ouputStream.close(); There is no problem when export is done to excel or html. Can any one help me in this matter.
  20. By: SVK - vidhyak error on iReport launch 2005-02-17 14:58 I get the following error and since the resources are not loaded the menu items appear cryptic! Any clues on how to resolve this? thanks By: SVK - vidhyak RE: error on iReport launch 2005-02-17 14:59 C:iReport-0.4.1-src>ant iReport Buildfile: build.xml prepare: compile: iReport: [java] Exception loading cID = resourceBundleBaseName: Can't find resource for bundle java.util.PropertyResourceBundle, key resourceBundleBaseName
  21. By: rmeurice - rmeurice cascading subreport 2005-02-16 05:50 Hye, Is it possible to "cascade" subreport ? Master ------ sublevel 1 ------ sublevel 1.1 ------ sublevel 2 etc ... Is there any tips ? Thanks in advance, Rem
  22. By: SandeepRam - sandeepram how to open iReport 2005-02-10 08:30 hi i have downloaded and unzipped iReport-0.1.0 version. but when i click on the iReport.exe file in the folder "iReport-0.1.0bin" i got a message as "Class not Registered". Whats the reason? . whether i need to specify the classpathe. if yes what to put in class path. give a solution if u can... with regards san By: C-Box - c-box RE: how to open iReport 2005-02-11 03:00 Are you sure that you need version 0.1.0 ???? the latest release is 0.4.1 - I guess there is much more functionality within 0.4.1 than in 0.1.0? And I don't think that you'll find much support in this forum for such an old version. C-Box
  23. By: allie - allie910 use field of master as param for subreport ? 2005-02-10 18:13 Hi all, I am quite new in using jasper here.... and I have a question regarding subreport, I have read the documentation of jasper and ireport manual, but dont think I found it.... ='( here's my case : I have a master report using a subreport inside it. My question is : Can I use the result of the Query field in the master report to be passed to the subreport as its parameter for the subquery ? Thanks alot for the helpp................... =)
  24. By: Kuba Duda - kubad save as suggestion 2005-02-09 11:32 I wonder if 'save as' function should not chage report name. I used to duplicate my reports by using 'save as' and different names, and later made changes. This didn't work because jrxml still kept original name inside. Cube
  25. By: lalith jayaweera - j_lalith Data source types other than JDBC 2005-02-06 22:50 Hi, If we select the datasource type as Java beans set data source type. How can we proceed with the report wizard. Is there any other tutorials to cover those data sources as well? Also let me know how these generated files should integrate with Jasper (Steps that we should follow) in production. --Thanks
×
×
  • Create New...