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

bluelikejazz

Members
  • Posts

    8
  • 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 bluelikejazz

  1. Hi Guilo, Thanks! Is there anyway I could get a build with the fix in it? Thanks Again! Jerrod
  2. Well I never selected or changed anything in that field. The only thing I did was transform the field. Shouldn't the settings from the static field or the general settings for a new text field be applied here? The incorrect capitalization is caused by iReport not me. Check your code and alas you'll see, it's you not me.
  3. Post edited by: bluelikejazz, at: 2007/03/12 21:58
  4. I use Transform in Textfield on a static text field. I change the text to ${RES_STRING} where RES_STRING is a valid string in my res file. Now if I do this manually by creating a new text field, it works fine. However if I use Transform in Textfield I get the following error: Code: Errors compiling C:java420reportsireportsSessionAttendance.jasper. 4579034 [Thread-14] ERROR digester.Digester - Parse Error at line 435 column 80: Attribute "lineSpacing" with value "single" must have a value from the list "Single 1_1_2 Double ". org.xml.sax.SAXParseException: Attribute "lineSpacing" with value "single" must have a value from the list "Single 1_1_2 Double ". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.validateDTDattribute(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1647) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:529) at java.lang.Thread.run(Unknown Source) In the jrxml file at line 201: Code:[code] <textElement verticalAlignment="Top" rotation="None" lineSpacing="single"> The only workaround I have found is to switch in iReport the line spacing textfield from single to 1-2-1 and then back to single. If I do this it works. It's just a real pain especially since I have to change hundreds of fields. Is this a bug or am I missing something? Please let me know ASAP, I've got a deadline :( Post edited by: bluelikejazz, at: 2007/03/12 18:46 Post edited by: bluelikejazz, at: 2007/03/12 18:47 Post edited by: bluelikejazz, at: 2007/03/12 18:48
  5. Does anyone ever respond on this forum? Or does Jasper control the world by forcing me to pay the big $$$
  6. Is grouping expensive when it comes to time to generate? I ask this because the report I was generating with 700 pages was taking 11 seconds total to generate (including my code) Now, though... it takes over a minute. All I did was group the elements in the report by person name. (I sorted them first) Oh and I added some color boxes that I sent to the back... these can't be expensive... can they? Is grouping really this costly? Is there a way I can improve this? Oh and what's with the not being able to shift elements up, down, left, right manually? I have to enter a weird number first then the number I want. It rarely wants to shift the element directly to the number I want. What causes this? Is this a bug? I'm talking about in the element properties AND when I right click on the element, then the ALL tab. Post edited by: bluelikejazz, at: 2007/01/25 00:15
  7. I use the Jasper supplied JRTableModelDataSource and then use: import net.sf.jasperreports.engine.*; public class JRTestDataSource { public static JRDataSource test() { return new JRTableModelDataSource(TabReport.getTS()); } } Where TabReport is getting a simple DefaultTableModel from my code. In IReport, I try and compile and the only TextField I am using is called StudentName... gives me the exception: net.sf.jasperreports.engine.JRException:ÂReportÂdesignÂnotÂvalidÂ:Â ÂÂÂÂÂ1.ÂFieldÂnotÂfoundÂ:ÂStudentName ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:267) ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:144) ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) ÂÂÂÂatÂnet.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127) ÂÂÂÂatÂnet.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:109) ÂÂÂÂatÂit.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:529) ÂÂÂÂatÂjava.lang.Thread.run(UnknownÂSource) StudentName is one of the column names in my default table. How can I get this to work?
  8. I am using IReport and was wondering how I can use the JRTableModelDataSource. I do not see it as one of the options for the data sources. Also, if this is possible how would I go about doing this? I have all the IReport and Jasper books... but the only way I see doing this with Japser is by coding it by hand. Is this the only way? Also, I the program I am integrating Jasper into, needs to incorporate n number of charts into n number of questions within a report. How can I do this? currently right now I save the images the program I am using, which uses JFreeChart, and then show this image one by one in the report. I would like to incorporate IReport's JfreeChart into the program instead of just using the stand alone images. How can I do this when I don't know the number of charts I will be needing when I design the IReport? Wow hopes this all makes sense... really appreciate any help, from anyone! Post edited by: bluelikejazz, at: 2007/01/08 19:22
×
×
  • Create New...