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

ethael

Members
  • Posts

    15
  • 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 ethael

  1. Hi there, I would like to ask if there is any possibility to force values of labels to go one by another and prevent to miss some of them. Example: values for axis X are: 0 1 2 3 4 5 6 7 8 9 10 and chart is generated like: 0 2 5 8 10
  2. This is only question of implementation.... jasper reports are designed with point in mind that subreports are separate reports that should end as soon as possible to provide another space for another subreport or data... From my point of view I have subreports designed in the way that they only goes one after another in full size in one master.. but they share data so it can't be only for example pdf merge of these reports. it is important for me to have a footer in these subreports.. but they are not some. every subreport has its own... and they should be on the end of the page... master has no footer or other data.. only subreports. I use it only as a layer for redistribution of informations for subreports. that's why I need to force subreport to put their footers to the end of the page and not right after the detail section.
  3. I can agree that this is not priority or urgent feature... I work with JasperReport almost 2 years... but in development about 7... and as I looked on the sources... this feature is not difficult to be done.. and if I am not first or even 50th person who woud really enjoy this feature it would be nice from Jasper developers to make it so... I was only asking if there will be some progress or not. that s all
  4. Few weeks ago, I have startd this topic... I have also read the other posts and whole topic related to this issue. I just want to ask again if this switch parameter will be implemented or at least if there is some result.... thank you for your response...
  5. Thank you for quick response, I am wandering if it is already decided what are the next steps... if I can await this enhancement in near future or should I find some workaround...
  6. When I run the report standalone, everything is alright. But when I put this report to another report as a subreport, the page footer is printed right after detail band. Not at the bottom. Did anyone encountered this problem?
  7. I have solved the problem. I just forgot to put parameter declaration also to subdataset tag.
  8. <queryString><![CDATA[sELECT * FROM students WHERE id LIKE '$P{STUDENT_ID}']]></queryString> Of course you need to have this parameter declared in report: <parameter name="STUDENT_ID" isForPrompting="false" class="java.lang.String"></parameter> You should replace java.lang.String for something else if necessary... And of course take care of proper set of the parameter value
  9. sELECT * FROM students WHERE id LIKE '$P{STUDENT_ID}' Of course you need to have this parameter declared in report: You should replace java.lang.String for something else if necessary... And of course take care of proper set of the parameter value
  10. Hello everybody, I have a master report with 4 subreports. Last of the subreports has 4 charts. So that 4th subreport has 4 subdatasets. I am passing parameters from master to all subreports. But I don't know how to pass parameter from subreport to subdataset. I have tried to declare parameter that is comming from master in subreport and then put this parameter into datasetRun of the subdataset: <datasetParameter name="classpath"> <datasetParameterExpression><![CDATA[$P{classpath}]]></datasetParameterExpression> </datasetParameter> parameter classpath comes from master reports. I have declared this parameter in subreport too: <parameter name="classpath" isForPrompting="false" class="java.lang.String"> </parameter> but the exception is that there is unkown parameter classpath in subdataset. can anyone help?
  11. but at first I would find out if it is not an encoding problem
  12. I have had something common... I just changed the type to String... and I stopped passing currency object, but only symbol of currency, you can obtain that with getSymbol() method on currency instance. I rather use com.ibm.icu.util.Currency than java native one... because of symbol problems in some encodings... hope this helps
  13. Hi there, I have a bar chart and this chart is monthly overview... every day is one plot. Is there any possibility to render as many plots as days in month? for ex. (Feb = 28 (29), Aug = 31) Thanks
  14. using version 2.0.4 [file name=R3Test.jrxml size=70285] this is the jrxml file... only queries are different and value of UUID parameter is empty string. the exception is: com.company.project.service.impl.report.ReportServiceImpl - outputting report: ReportDesign (UUID = c8916957-b006-46cd-b527-7ddf3cd59e16; name = 9012) Selected locale is: en_us Jun 12, 2008 9:14:03 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet system threw exception java.util.MissingResourceException: Can't find bundle for base name R3Test, locale en_us at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) at java.util.ResourceBundle.getBundle(ResourceBundle.java:962) at net.sf.jasperreports.engine.fill.JRFillDataset.loadResourceBundle(JRFillDataset.java:551) at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:582) at net.sf.jasperreports.engine.fill.JRFillDatasetRun.evaluate(JRFillDatasetRun.java:126) at net.sf.jasperreports.engine.fill.JRFillElementDataset.evaluateDatasetRun(JRFillElementDataset.java:201) at net.sf.jasperreports.engine.fill.JRFillChart.evaluateDatasetRun(JRFillChart.java:2829) at net.sf.jasperreports.engine.fill.JRFillChart.evaluateImage(JRFillChart.java:1190) at net.sf.jasperreports.engine.fill.JRFillChart.evaluate(JRFillChart.java:1179) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:426) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummarySamePage(JRVerticalFiller.java:920) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:854) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:159) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:795) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:363) at com.company.project.service.impl.report.ReportServiceJasperImpl.outputReport(ReportServiceJasperImpl.java:207) at com.company.project.service.impl.report.ReportServiceImpl.outputReport(ReportServiceImpl.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... line 207 in ReportServiceJasperImpl.java is: final JasperPrint jasperPrint = JasperFillManager.fillReport(reportDesign.getRptDocument(), parameters, dataSource.getConnection()); connection is JDBC on MySQL and parameters are: final ResourceBundle bundle = new PropertyResourceBundle(extractLocaleFromTemplateZip()); parameters.put(JRParameter.REPORT_RESOURCE_BUNDLE, bundle); parameters.put(JRParameter.REPORT_LOCALE, locale); Post edited by: ethael, at: 2008/06/12 07:39
  15. Hi there, I really do not know what to do.... I have localized report with 4 charts. resourceBundle is alright all properties files are correct, well named and ok During filling I got: java.util.MissingResourceException: Can't find bundle for base name R3Test, locale en_us If I remove all 4 charts report works well, report is properly localized and running. After adding charts the problem gets back... what shell I do?
×
×
  • Create New...