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

3rwin

Members
  • Posts

    35
  • Joined

  • Last visited

3rwin's Achievements

Contributor

Contributor (5/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Lucian, First of all thanks for the feedback ... Am I looking at this the wrong way then. I would like to make a subreport with for example a header logo and a date, and use it in many other reports. So if someone askes me to put for example a time in the header I would only have to change the header subreport and all my reports would work. But I would like to have a Internationalized label "date" before the date and make it so that I only have to translate the label in one place, not in every report that uses my subreport. Kind regards, Erwin
  2. I've added the subreport resourcebundle to the subreport and the mainreport resourcebundle to the main report but ... How do you add a subreport resourcebundle to another (main) report? Kind regards, Erwin
  3. 1-3) In a Java project I can get this working, but in JasperServer i don't seem to find a solution. 4) I'm trying to re-use a subreport and it's translated labels in several main reports, so I don't want to have to enter the labels of the subreport in every main report. So no solution for the moment ... anyone? Kind regards, Erwin
  4. 1) if i use ResourceBundle for my main report and ResourceTable for my subreport i get the following error "java.util.MissingResourceException: Can't find bundle for base name ResourceTable, locale en_US". I guess the JasperServer expects to find the ResourceTable of the subreport in the same folder as the main report. 2) I could put the labels of the subreport in the Resourcebundle of the main report, but that would be kinda stupid because everytime I would use the subreport in some other report i would have to write the labels over and over again. 3) i don't know exactly what you mean, when i look at the resourcebundle= statement there is only ResourceBundle (without .properties), what should the path be, keep in mind that i'm working on a JasperServer, should I start at the Root? I've tried a few possibilities but none seem to work. Thanks for trying to help. Kind regards, Erwin
  5. I'm not exactly sure what you mean but ... In the subreport I bind the ResourceBundle like this: <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report name" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" resourceBundle="ResourceBundle"> So no path ... kind regards, Erwin
  6. Hi, I have uploaded a main report and a sub report with their resourcebundles to our JasperServer: root mainreports main.jrxml resourcebundle.properties subreports sub.jrxml resourcebundle.properties I've created a $R{title} textfield in my sub.jrxml and defined it in the resourcebundle.properties (in the subreports folder), when I run the subreport on the JasperServer it translated my $R{title}, but when I add the subreport to the main and run the main, the $R{title} doesn't translate and gives me a "null" value for the field. Does anyone have an idea on how to fix this? kind regards, Erwin
  7. Hi, I have uploaded a main report and a sub report with their resourcebundles to our JasperServer: root mainreports main.jrxml resourcebundle.properties subreports sub.jrxml resourcebundle.properties I've created a $R{title} textfield in my sub.jrxml and defined it in the resourcebundle.properties (in the subreports folder), when I run the subreport on the JasperServer it translated my $R{title}, but when I add the subreport to the main and run the main, the $R{title} doesn't translate and gives me a "null" value for the field. Does anyone have an idea on how to fix this? kind regards, Erwin
  8. My best guess is you'll need a licence to download the pro version. If you have a contract with JasperSoft browse to http://support.jaspersoft.com/. Kind regards, 3rwin
  9. Is it possible to create dependant Input Controls? For example, we have 2 input controls, company and material, in the second combobox we only want to show the material for the company selected in the first input control.
  10. Is it possbible to translate Input Controls in JasperServer? We have defined a Input control with a label 'Company', but we want our non english user to see the label in their own language.
  11. Try using the following properties for your connection: JDBC Driver: com.ibm.as400.access.AS400JDBCDriver JDBC URL: jdbc:as400://system 3rwin
  12. Try changing the isPrintRepeatedValues setting to "true" while using evaluationTime="Now".
  13. Don't know if you tried this: Open report, then open menu "edit", choose "report properties" click the "more" tab and set "When no data" to "No Pages" ...
×
×
  • Create New...