Jump to content
Changes to the Jaspersoft community edition download ×

grototo

Members
  • Posts

    19
  • 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 grototo

  1. Hi folks, it's a jasperreport bug. The only way to avoid it is to put each subreport in a frame. Regards, Thomas
  2. Hi again, missed to add the fact I don't want to keep pagination for the csv export, but I think this goes with : net.sf.jasperreports.export.csv.paginated=false[/code]
  3. Hi folks, I'd like to produce a pdf file and a csv file using the same reports. Here is my main report : (using iReport 3.7.2) I'd like the page header section to be printed once in my csv file. I used <property name="net.sf.jasperreports.export.csv.exclude.origin.keep.first.xxxxx.1" value="pageHeader"/>[/code]in my main report and tried report and band, but it doesn't work. Neither did it work with both : <property name="net.sf.jasperreports.export.csv.exclude.origin.keep.first.xxx.1" value="pageHeader"/><property name="net.sf.jasperreports.export.csv.exclude.origin.xxx.1" value="pageHeader"/>[/code]In the detail section, I'm calling another subreport, which uses groups. I'd like to keep all from this subreport. Does anyone have a brilliant idea to help me fix this? Best regards, Thomas
  4. Sorry, finally got it....was using a wrong syntax:(((( <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1 --><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="p750liste" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b1e34fe7-a7d3-4396-9cf0-cad1ab9ffded"> <import value="net.sf.jasperreports.engine.*"/> <import value="java.util.*"/> <import value="net.sf.jasperreports.engine.data.*"/> <subDataset name="listeActes" uuid="55d8bb83-abff-48f7-94e0-dd312709f1ba"> <parameter name="dateIntegrationPsuite" class="java.util.Date"/> <queryString> <![CDATA[]]> </queryString> <field name="leTypeActePratiqueReferentiel" class="myproject.bean.referentiel.TypeActePratiqueReferentiel"> <fieldDescription><![CDATA[leTypeActePratiqueReferentiel]]></fieldDescription> </field> <field name="deboursTresor" class="java.math.BigDecimal"> <fieldDescription><![CDATA[deboursTresor]]></fieldDescription> </field> <field name="dateSignification" class="java.util.Date"> <fieldDescription><![CDATA[dateSignification]]></fieldDescription> </field> <variable name="dateIntegrationPsuite" class="java.util.Date"> <initialValueExpression><![CDATA[$V{dateIntegrationPsuite}]]></initialValueExpression> </variable> </subDataset> <parameter name="dateIntegrationPsuite" class="java.util.Date" isForPrompting="false"> <defaultValueExpression><![CDATA[$F{laPoursuite}.getDateIntegrationCreation()]]></defaultValueExpression> </parameter> <queryString> <![CDATA[]]> </queryString> <field name="laPoursuite" class="myproject.bean.poursuite.Poursuite"> <fieldDescription><![CDATA[laPoursuite]]></fieldDescription> </field> <field name="leRedeVable" class="myproject.bean.redevable.Redevable"> <fieldDescription><![CDATA[leRedeVable]]></fieldDescription> </field> <field name="lesActePratique" class="java.util.List"> <fieldDescription><![CDATA[lesActePratique]]></fieldDescription> </field> <group name="gpredetpsuite" keepTogether="true"> <groupExpression><![CDATA[$F{leRedeVable}.getNomOuDenominationSociale()+$F{laPoursuite}.getRef1Affaire()]]></groupExpression> <groupHeader> <band splitType="Prevent"/> </groupHeader> <groupFooter> <band height="10" splitType="Prevent"> <frame> <reportElement x="0" y="0" width="771" height="10" uuid="9a75822b-bf1a-4d21-adc0-20229e1174e3"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> </frame> </band> </groupFooter> </group> <pageHeader> <band height="41"> <frame> <reportElement x="0" y="0" width="140" height="40" uuid="c79e2684-384b-4304-835b-3a739fc44647"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="140" height="40" uuid="db285274-2584-47fb-b22d-e27c17ad56c2"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Nom Redevable]]></text> </staticText> </frame> <frame> <reportElement x="140" y="0" width="140" height="40" uuid="060fddb8-20dc-49fc-b284-e29fab9860c0"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="140" height="40" uuid="4f9491f8-3d96-4a78-9732-73e923df19d6"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Réf psuite]]></text> </staticText> </frame> <frame> <reportElement x="281" y="0" width="120" height="40" uuid="740c0c32-e1d1-4470-9f93-ebbc261e283d"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="120" height="40" uuid="07c0c99a-8c01-49da-9ec8-d0a6c550d520"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Acte pratiqué]]></text> </staticText> </frame> <frame> <reportElement x="401" y="0" width="120" height="40" uuid="4b03512b-c2f4-4e89-9215-ce3e3227973d"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <staticText> <reportElement x="1" y="1" width="119" height="40" uuid="2bafe7e2-fd98-46d8-99a2-1e20ce7d6fd0"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Débours Trésor]]></text> </staticText> </frame> </band> </pageHeader> <detail> <band height="40" splitType="Prevent"> <frame> <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="140" height="40" uuid="8eb713b5-59b3-426b-8fe7-b2c27cbec398"/> <box> <topPen lineWidth="0.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="0" y="0" width="140" height="40" uuid="f2f65c0f-a0d4-4b9b-bca4-07cd72239d9d"/> <textFieldExpression><![CDATA[$F{leRedeVable}.getNomOuDenominationSociale()]]></textFieldExpression> </textField> </frame> <frame> <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="140" y="0" width="140" height="40" uuid="f745a754-8416-4cd7-86dc-79ad5537084b"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="140" height="40" uuid="00fff0b8-7032-41aa-afdf-121251ddf569"/> <textFieldExpression><![CDATA[$F{laPoursuite}.getRef1Affaire()]]></textFieldExpression> </textField> </frame> <componentElement> <reportElement positionType="Float" x="281" y="0" width="490" height="40" isPrintWhenDetailOverflows="true" uuid="9d38982d-e7d4-45ef-a976-0e607d8fdd57"> <property name="net.sf.jasperreports.export.headertoolbar.table.name" value="listeeee"/> </reportElement> <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> <datasetRun subDataset="listeActes" uuid="be36d58b-205f-4e4f-b938-b8833773b442"> <datasetParameter name="REPORT_PARAMETERS_MAP"> <datasetParameterExpression><![CDATA[]]></datasetParameterExpression> </datasetParameter> <datasetParameter name="dateIntegrationPsuite"> <datasetParameterExpression><![CDATA[$F{laPoursuite}.getDateIntegrationCreation()]]></datasetParameterExpression> </datasetParameter> <dataSourceExpression><![CDATA[new JRBeanCollectionDataSource($F{lesActePratique})]]></dataSourceExpression> </datasetRun> <jr:listContents height="40" width="490"> <frame> <reportElement x="0" y="0" width="121" height="40" uuid="a99d8961-5a82-4a2c-90b9-37f2ed1de49d"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement x="0" y="0" width="120" height="40" uuid="60e779f0-5712-43a5-b48f-9cd2855b1487"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA[$F{leTypeActePratiqueReferentiel}.getCodeReferentielThemis()]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="121" y="0" width="121" height="40" uuid="750d5812-8a26-4f06-8609-9008c29c60d9"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> <rightPen lineWidth="1.0"/> </box> <textField isStretchWithOverflow="true" pattern="#,##0.##¤;#,##0.## ¤" isBlankWhenNull="true"> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="121" height="40" uuid="212658f7-08b8-4749-a81f-937498f6c403"/> <textElement textAlignment="Right" verticalAlignment="Middle"/> <textFieldExpression><![CDATA[$F{deboursTresor}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="242" y="0" width="118" height="40" uuid="f0c31cba-676a-4e26-a75e-9cc6d743ddcf"/> <textField isBlankWhenNull="true"> <reportElement mode="Opaque" x="0" y="0" width="118" height="40" backcolor="#C1ADD9" uuid="0b8a98a6-500b-481a-ad8d-cbc368c7bfb1"/> <textFieldExpression><![CDATA[new Integer((int) ( ( $F{dateSignification}.getTime() -$P{dateIntegrationPsuite}.getTime()) / (1000*60*60*24) ))]]></textFieldExpression> </textField> </frame> <textField pattern="dd/MM/yyyy"> <reportElement x="360" y="0" width="130" height="20" uuid="97c2f251-1507-4dd8-80df-1fc672d3ce48"/> <textFieldExpression><![CDATA[$P{dateIntegrationPsuite}]]></textFieldExpression> </textField> <textField pattern="dd/MM/yyyy"> <reportElement x="360" y="20" width="130" height="20" uuid="6e5b150c-6707-46e7-9aac-f76f0a51abea"/> <textFieldExpression><![CDATA[$F{dateSignification}]]></textFieldExpression> </textField> </jr:listContents> </jr:list> </componentElement> </band> </detail></jasperReport>
  5. Hi folks, worried about something that should be easy. Got a Java Bean called Psuite : public class Poursuite extends BaseBean{.... private Date dateIntegrationCreation;....}[/code] Got another Java Bean called ActePratique public class ActePratique extends BaseBean{....private Date dateSignification;...}[/code]Finally got some technical bean including those beans : public class ActePratiquePourP750 extends BaseBean{.... private Poursuite laPoursuite; private List<ActePratique> lesActePratique;...}[/code] I'm passing a java bean collection of type ActePratiquePourP750 to a subreport. Then I'm using each Poursuite, and creating a new dataset of ActePratique and print them as a list. My issue is that I need to calculate the number of days between dateSignification and dateIntegrationCreation. I'm doing fine with the computing problem (something like new Integer((int) ( ($P{dateIntegrationPsuite}.getTime() - $F{dateSignification}.getTime()) / (1000*60*60*24) )), but how to pass dateIntegrationCreation to the list? Shall I use a parameter? A variable? Here is the jrxml file I'm using so far : <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1 --><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="p750liste" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b1e34fe7-a7d3-4396-9cf0-cad1ab9ffded"> <import value="net.sf.jasperreports.engine.*"/> <import value="java.util.*"/> <import value="net.sf.jasperreports.engine.data.*"/> <subDataset name="listeActes" uuid="55d8bb83-abff-48f7-94e0-dd312709f1ba"> <parameter name="dateIntegrationPsuite" class="java.util.Date"/> <queryString> <![CDATA[]]> </queryString> <field name="leTypeActePratiqueReferentiel" class="myproject.bean.referentiel.TypeActePratiqueReferentiel"> <fieldDescription><![CDATA[leTypeActePratiqueReferentiel]]></fieldDescription> </field> <field name="deboursTresor" class="java.math.BigDecimal"> <fieldDescription><![CDATA[deboursTresor]]></fieldDescription> </field> <field name="dateSignification" class="java.util.Date"> <fieldDescription><![CDATA[dateSignification]]></fieldDescription> </field> <variable name="dateIntegrationPsuite" class="java.util.Date"> <initialValueExpression><![CDATA[$V{dateIntegrationPsuite}]]></initialValueExpression> </variable> </subDataset> <queryString> <![CDATA[]]> </queryString> <field name="laPoursuite" class="myproject.bean.poursuite.Poursuite"> <fieldDescription><![CDATA[laPoursuite]]></fieldDescription> </field> <field name="leRedeVable" class="myproject.bean.redevable.Redevable"> <fieldDescription><![CDATA[leRedeVable]]></fieldDescription> </field> <field name="lesActePratique" class="java.util.List"> <fieldDescription><![CDATA[lesActePratique]]></fieldDescription> </field> <variable name="dateIntegrationPsuite" class="java.util.Date" resetType="Group" resetGroup="gpredetpsuite"> <initialValueExpression><![CDATA[$F{laPoursuite}.getDateIntegrationCreation()]]></initialValueExpression> </variable> <group name="gpredetpsuite" keepTogether="true"> <groupExpression><![CDATA[$F{leRedeVable}.getNomOuDenominationSociale()+$F{laPoursuite}.getRef1Affaire()]]></groupExpression> <groupHeader> <band splitType="Prevent"/> </groupHeader> <groupFooter> <band height="10" splitType="Prevent"> <frame> <reportElement x="0" y="0" width="740" height="10" uuid="9a75822b-bf1a-4d21-adc0-20229e1174e3"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> </frame> </band> </groupFooter> </group> <pageHeader> <band height="41"> <frame> <reportElement x="0" y="0" width="140" height="40" uuid="c79e2684-384b-4304-835b-3a739fc44647"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="140" height="40" uuid="db285274-2584-47fb-b22d-e27c17ad56c2"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Nom Redevable]]></text> </staticText> </frame> <frame> <reportElement x="140" y="0" width="200" height="40" uuid="060fddb8-20dc-49fc-b284-e29fab9860c0"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="200" height="40" uuid="4f9491f8-3d96-4a78-9732-73e923df19d6"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Réf psuite]]></text> </staticText> </frame> <frame> <reportElement x="340" y="0" width="120" height="40" uuid="740c0c32-e1d1-4470-9f93-ebbc261e283d"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="120" height="40" uuid="07c0c99a-8c01-49da-9ec8-d0a6c550d520"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Acte pratiqué]]></text> </staticText> </frame> <frame> <reportElement x="461" y="1" width="120" height="40" uuid="4b03512b-c2f4-4e89-9215-ce3e3227973d"/> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="119" height="40" uuid="2bafe7e2-fd98-46d8-99a2-1e20ce7d6fd0"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <text><![CDATA[Débours Trésor]]></text> </staticText> </frame> </band> </pageHeader> <detail> <band height="40" splitType="Prevent"> <frame> <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="140" height="40" uuid="8eb713b5-59b3-426b-8fe7-b2c27cbec398"/> <box> <topPen lineWidth="0.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="0" y="0" width="140" height="40" uuid="f2f65c0f-a0d4-4b9b-bca4-07cd72239d9d"/> <textFieldExpression><![CDATA[$F{leRedeVable}.getNomOuDenominationSociale()]]></textFieldExpression> </textField> </frame> <frame> <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="140" y="0" width="200" height="40" uuid="f745a754-8416-4cd7-86dc-79ad5537084b"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="200" height="40" uuid="00fff0b8-7032-41aa-afdf-121251ddf569"/> <textFieldExpression><![CDATA[$F{laPoursuite}.getRef1Affaire()]]></textFieldExpression> </textField> </frame> <componentElement> <reportElement positionType="Float" x="340" y="0" width="360" height="40" isPrintWhenDetailOverflows="true" uuid="9d38982d-e7d4-45ef-a976-0e607d8fdd57"> <property name="net.sf.jasperreports.export.headertoolbar.table.name" value="listeeee"/> </reportElement> <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> <datasetRun subDataset="listeActes" uuid="71f1ef40-d124-431a-b574-b26b4af0f7c4"> <datasetParameter name="REPORT_PARAMETERS_MAP"> <datasetParameterExpression><![CDATA[]]></datasetParameterExpression> </datasetParameter> <dataSourceExpression><![CDATA[new JRBeanCollectionDataSource($F{lesActePratique})]]></dataSourceExpression> </datasetRun> <jr:listContents height="40" width="360"> <frame> <reportElement x="0" y="0" width="121" height="40" uuid="a99d8961-5a82-4a2c-90b9-37f2ed1de49d"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement x="0" y="0" width="120" height="40" uuid="60e779f0-5712-43a5-b48f-9cd2855b1487"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA[$F{leTypeActePratiqueReferentiel}.getCodeReferentielThemis()]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="121" y="0" width="121" height="40" uuid="750d5812-8a26-4f06-8609-9008c29c60d9"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="0.0"/> <rightPen lineWidth="1.0"/> </box> <textField isStretchWithOverflow="true" pattern="#,##0.##¤;#,##0.## ¤" isBlankWhenNull="true"> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="121" height="40" uuid="212658f7-08b8-4749-a81f-937498f6c403"/> <textElement textAlignment="Right" verticalAlignment="Middle"/> <textFieldExpression><![CDATA[$F{deboursTresor}]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="242" y="0" width="118" height="40" uuid="f0c31cba-676a-4e26-a75e-9cc6d743ddcf"/> <textField isBlankWhenNull="true"> <reportElement mode="Opaque" x="0" y="0" width="118" height="40" backcolor="#C1ADD9" uuid="0b8a98a6-500b-481a-ad8d-cbc368c7bfb1"/> <textFieldExpression><![CDATA[new Integer((int) ( ($P{dateIntegrationPsuite}.getTime() - $F{dateSignification}.getTime()) / (1000*60*60*24) ))]]></textFieldExpression> </textField> </frame> </jr:listContents> </jr:list> </componentElement> </band> </detail></jasperReport>[/code]Thanks for your help. Regards, Thomas
  6. Hi there, just to let you know I found another solution : told each subreport to RunToBottom, and added a page footer giving page number in each oh them. Seems to work for the moment. Regards, Thomas
  7. Hi C-Box, thanks for your answer and the time spent. I'll try what you mentionned asap. Regards, Thomas
  8. Hi Folks, gotta weird need, and I can't seem to find a solution. Main report : calling subreport 1 in detail1 sectioncalling subreport 2 in detail2 sectionusing pagefooter to print "page 1.x", where x shall be the page number from the subreport.For instance, if subreport 1 prints 3 pages at first time, page number should be 1.1, 1.2 and 1.3. And so on....Starting again from 1.1, 1.2, aso for each brand new objet of the list given to each subreports. I tried using different evalution times, but I can't get it working. Never used returned parameters, 'cause I can't get how it works. Any help would be appreciated ;) Best regards, Thomas
  9. Hi folks, first of all, happy new year ;) I use a stylesProject.jrtx in my Java project. The jrtx file is available at ths location in my Java project : /src/main/webapp/WEB-INF/editions/rapports/commun I also have a parameter ($P) called commun_subreport_dir pointing on this folder in my project, and it works fine when dealing with a subreport placed in it. Compiling jrxml files in my project also works fine. But when executing the rendering of the report through my java project, I get in my Eclipse console : net.sf.jasperreports.engine.JRException: Byte data not found at: ./stylesProject.jrtx.[/code] Here is the extract of my jrxml file, defining the jrtx using a parameter : <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1 --><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="entetehuissierredevable" pageWidth="340" pageHeight="270" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="340" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="1938418a-4001-4d0c-9ac8-cfed31dd6149"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.unit." value="pixel"/> <property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/> <property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/> <template>$P{COMMUN_SUBREPORT_DIR} + "stylesProject.jrtx"</template> <parameter name="COMMUN_SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["./"]]></defaultValueExpression> </parameter>[/code]My question is : how do I have to reference my jrtx style? I can't user Jasper's repo because we don't use it at all. Best regards, Thomas, from France
  10. Hi folks, I'm using 6.5.1 final version of JS. I use Eclipse for my Java code, and JS as a stand alone, defining build classes and test classes of my Java project. To developp jrxmls, we do use some stub classes, which define createBeanCollection method. When we modify some attribute in a stub class, JS is unable to detect any change. It has to be restarted to finally detect compiled classes have changed. Yes, JS project is "build automatically" parametrized, and yes, we have enable "Refresh using native hooks and polling" enable. Is there a way, like in IReport 3.7.2. to make classes reloadable? Best regards, Thomas France
  11. Hi folks, We have to use the 6.5.1 Studio version in our firm. Furthermore, it needs to be run as a stand alone, and not as an Eclipse plugin. I'm trying to understand how to use it... How can I : get my stub classes from the Eclipse project I'm working on?how to "import" all Java classes I need to run my stubs in Jasper StudioAny help welcome :))) Best regards. Thomas
  12. Hello, Oops....missed the main message /sites/default/files/images/snapshot-2017-03-14-13-33-51-2017-05-05-08-10-45.png
  13. Hi folks, first of all, please excuse my bad english. Here is my issue. I'm using JasperStudio and not IReport. I have 2 reports, the main one (rapportppal.jrxml) and the subreport (sousrapport.jrxml). rapportppal.jrxml <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.2.0.linagora-2-v201602221222 using JasperReports Library version 3.7.2 --><!-- 2017-05-04T16:44:07 --><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="rapportppal" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="0" bottomMargin="0"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="ezcolstub"/> <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["./"]]></defaultValueExpression> </parameter> <queryString> <![CDATA[]]> </queryString> <field name="infoEntete" class="fr.gouv.finances.slm.bean.restitution.EzcolzfraoetdLigne"> <fieldDescription><![CDATA[infoEntete]]></fieldDescription> </field> <field name="infoEnteteDansUneListe" class="java.util.List"> <fieldDescription><![CDATA[infoEnteteDansUneListe]]></fieldDescription> </field> <field name="lesOperations" class="java.util.List"> <fieldDescription><![CDATA[lesOperations]]></fieldDescription> </field> <background> <band splitType="Stretch"/> </background> <title> <band splitType="Stretch"/> </title> <pageHeader> <band height="60" splitType="Stretch"> <textField> <reportElement x="0" y="0" width="274" height="60"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))]]></printWhenExpression> </reportElement> <textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{infoEntete}.getLaRestitution().getTitreRestitution()]]></textFieldExpression> </textField> <textField isBlankWhenNull="true"> <reportElement x="274" y="0" width="148" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))]]></printWhenExpression> </reportElement> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["DD/DRFIP de liquidation : " + $F{infoEntete}.getLaRestitution().getLaDDFIP().getCodeDdfip()]]></textFieldExpression> </textField> <staticText> <reportElement x="449" y="0" width="35" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))]]></printWhenExpression> </reportElement> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[PNC : ]]></text> </staticText> <textField isBlankWhenNull="true"> <reportElement x="484" y="0" width="50" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))]]></printWhenExpression> </reportElement> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{infoEntete}.getLaRestitution().getCodiquePosteComptable()]]></textFieldExpression> </textField> <staticText> <reportElement x="534" y="0" width="100" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))||Boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZFRA"))]]></printWhenExpression> </reportElement> <textElement verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[Date de production : ]]></text> </staticText> <textField pattern="yyyy/MM/dd/HH/mm "> <reportElement x="634" y="0" width="124" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))||Boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZFRA"))]]></printWhenExpression> </reportElement> <textElement verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> <staticText> <reportElement x="274" y="30" width="81" height="30"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[Liquidation de : ]]></text> </staticText> <textField> <reportElement x="355" y="30" width="94" height="30"/> <textElement verticalAlignment="Top" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{infoEntete}.getLaRestitution().getExercice() + " - " + $F{infoEntete}.getLaRestitution().getMoisSurDeuxCaracteres()]]></textFieldExpression> </textField> <staticText> <reportElement x="534" y="30" width="100" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZCOL"))||Boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZFRA"))]]></printWhenExpression> </reportElement> <box leftPadding="0"/> <textElement textAlignment="Left" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[statut: définitif]]></text> </staticText> <textField isBlankWhenNull="false"> <reportElement x="0" y="0" width="578" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EFOETD"))]]></printWhenExpression> </reportElement> <box leftPadding="4"/> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{infoEntete}.getLaRestitution().getTitreRestitution() + " " + "DD/DRFIP : " + $F{infoEntete}.getLaRestitution().getLaDDFIP().getCodeDdfip() + " "+ "Codique destinataire : " +$F{infoEntete}.getLaRestitution().getCodiquePosteComptable()]]></textFieldExpression> </textField> <staticText> <reportElement x="578" y="0" width="100" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EFOETD"))]]></printWhenExpression> </reportElement> <textElement verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[Date de production : ]]></text> </staticText> <textField pattern="yyyy/MM/dd/HH/mm "> <reportElement x="678" y="0" width="124" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EFOETD"))]]></printWhenExpression> </reportElement> <textElement verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> <staticText> <reportElement x="578" y="30" width="100" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EFOETD"))]]></printWhenExpression> </reportElement> <box leftPadding="4"/> <textElement textAlignment="Left" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <text><![CDATA[statut: définitif]]></text> </staticText> <textField isBlankWhenNull="true"> <reportElement x="274" y="0" width="148" height="30"> <printWhenExpression><![CDATA[boolean.valueOf($F{infoEntete}.getLaRestitution().getTitreRestitution().toString().startsWith("SLAM - EZFRA"))]]></printWhenExpression> </reportElement> <textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single"> <font isBold="true" pdfFontName="Helvetica-Bold"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["DD/DRFIP : " + $F{infoEntete}.getLaRestitution().getLaDDFIP().getCodeDdfip()]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band splitType="Stretch"/> </columnHeader> <detail> <band height="100" splitType="Stretch"> <subreport> <reportElement x="-13" y="0" width="804" height="100"/> <parametersMapExpression><![CDATA[new HashMap($P{REPORT_PARAMETERS_MAP})]]></parametersMapExpression> <subreportParameter name="SUBREPORT_DIR"> <subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression> </subreportParameter> <dataSourceExpression><![CDATA[new JRBeanCollectionDataSource($F{lesOperations})]]></dataSourceExpression> <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "sousrapport.jasper"]]></subreportExpression> </subreport> </band> </detail> <pageFooter> <band height="20" splitType="Stretch"> <textField evaluationTime="Report" isBlankWhenNull="false"> <reportElement key="textField" x="355" y="0" width="66" height="18"/> <textElement lineSpacing="Single"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER} + ""]]></textFieldExpression> </textField> <textField isBlankWhenNull="false"> <reportElement key="textField" x="310" y="0" width="45" height="18"/> <textElement textAlignment="Right" lineSpacing="Single"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " / "]]></textFieldExpression> </textField> </band> </pageFooter></jasperReport>[/code]sousrapport.jrxml <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.2.0.linagora-2-v201602221222 using JasperReports Library version 3.7.2 --><!-- 2017-05-04T16:44:35 --><jasperReportxmlns="http://jasperreports.sourceforge.net/jasperreports"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreportshttp://jasperreports.sourceforge.net/xsd/jasperreport.xsd"name="sousrapport" pageWidth="595" pageHeight="842"whenNoDataType="AllSectionsNoDetail" columnWidth="595" leftMargin="0"rightMargin="0" topMargin="0" bottomMargin="0"isIgnorePagination="true"> <property name="com.jaspersoft.studio.unit." value="pixel"/> <property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/> <property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/> <property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <queryString> <![CDATA[]]> </queryString> <field name="leBeneficiaire" class="fr.gouv.finances.slm.bean.beneficiaire.BeneficiaireDirect"> <fieldDescription><![CDATA[leBeneficiaire]]></fieldDescription> </field> <field name="mttAvanceAnticipee" class="java.math.BigDecimal"> <fieldDescription><![CDATA[mttAvanceAnticipee]]></fieldDescription> </field> <variable name="mttAvanceAnticipee1" class="java.math.BigDecimal" calculation="Sum"> <variableExpression><![CDATA[$F{mttAvanceAnticipee}]]></variableExpression> </variable> <group name="beneficiaire"> <groupExpression><![CDATA[$F{leBeneficiaire}.getIdentifiantCourtBeneficiaire()+$F{leBeneficiaire}.getLibelleBeneficiaire()]]></groupExpression> <groupHeader> <band height="40"> <frame> <reportElement x="0" y="0" width="81" height="40"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <textField isBlankWhenNull="false"> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="81" height="40"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <textElement lineSpacing="Single"/> <textFieldExpressionclass="java.lang.String"><![CDATA[$F{leBeneficiaire}.getIdentifiantCourtBeneficiaire()]]></textFieldExpression> </textField> </frame> <frame> <reportElement x="80" y="0" width="474" height="40"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textField isBlankWhenNull="false"> <reportElement x="0" y="0" width="474" height="20"/> <textElement lineSpacing="Single"/> <textFieldExpressionclass=""><![CDATA[$F{leBeneficiaire}.getLibelleBeneficiaire().concat($F{leBeneficiaire}.getSiret())]]></textFieldExpression> </textField> <textField pattern="#,#00.###;(#,#00.###-)" isBlankWhenNull="false"> <reportElement x="0" y="20" width="474" height="20"/> <textElement lineSpacing="Single"/> <textFieldExpressionclass="java.math.BigDecimal"><![CDATA[$F{mttAvanceAnticipee}]]></textFieldExpression> </textField> </frame> </band> </groupHeader> </group> <columnHeader> <band height="40" splitType="Stretch"> <frame> <reportElement mode="Opaque" x="0" y="0" width="80" height="40" backcolor="#39A83D"> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="0" bottomPadding="0"> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="80" height="40"> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box> <topPen lineWidth="0.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single"/> <text><![CDATA[idtSlam]]></text> </staticText> </frame> <frame> <reportElement positionType="Float" mode="Opaque" x="80" y="0"width="474" height="20" backcolor="#39A83D"> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="0" bottomPadding="0"> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="474" height="20"> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="2"> <topPen lineWidth="0.0"/> <rightPen lineWidth="0.0"/> </box> <textElement verticalAlignment="Middle" lineSpacing="Single"/> <text><![CDATA[Libellé et Siret]]></text> </staticText> </frame> <frame> <reportElement mode="Opaque" x="80" y="20" width="474" height="20" backcolor="#39A83D"> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="0" bottomPadding="0"> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <staticText> <reportElement x="0" y="0" width="474" height="20"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <box leftPadding="2"> <topPen lineWidth="0.0"/> <leftPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/> <rightPen lineWidth="0.0"/> </box> <textElement verticalAlignment="Middle" lineSpacing="Single"/> <text><![CDATA[Montant avance anticipée]]></text> </staticText> </frame> </band> </columnHeader> <summary> <band height="40"> <frame> <reportElement x="0" y="0" width="81" height="40"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> <staticText> <reportElement x="1" y="0" width="79" height="40"/> <textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single"/> <text><![CDATA[TOTAL]]></text> </staticText> </frame> <frame> <reportElement x="80" y="0" width="474" height="40"/> <box> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textField pattern="#,#00.###;(#,#00.###-)" isBlankWhenNull="false"> <reportElement key="" x="1" y="0" width="473" height="40"/> <textElement lineSpacing="Single"/> <textFieldExpressionclass="java.math.BigDecimal"><![CDATA[$V{mttAvanceAnticipee1}]]></textFieldExpression> </textField> </frame> </band> </summary></jasperReport>[/code] I'm able to link them and execute them without problems in an Ireport programm. But it's impossible for me when using JasperStudio. The subreport is declared in the main one as foloowing : Subreport expression : $P{SUBREPORT_DIR} + "sousrapport.jasper" (and my parameter SUBREPORT_DIR is declared in the main one) Subreport parameters collection expression : new HashMap($P{REPORT_PARAMETERS_MAP}) Subreport datasource expression : new JRBeanCollectionDataSource($F{lesOperations}) (assuming I've imported the JRBeanCollectionDataSource's package) This used to work perfectly with Ireport. Does anyone know what I'm doing wrong? Best regards, Thomas
  14. Ok I solved it : (($F{montantFraisIndemnite} != null && $F{montantFraisRejetPacs004} != null) ? $F{montantFraisRejetPacs004}.add($F{montantFraisIndemnite}) : ($F{montantFraisIndemnite} == null ? $F{montantFraisRejetPacs004} : $F{montantFraisIndemnite}) )
  15. Hi folks, first of all, all apologies for my english. I'll try to to my best.... Here is my issue : in a subreport, I want a variable to take the value, which is the sum of 2 BigDecimals. The problem is Jasper doesn't even insult me when I write this : Variable Total : $F{montantFraisRejetPacs004}.add( $F{montantFraisIndemnite} ) The problem is that either montantFraisInitial or montantFraisComplementaire can be null. I've tried something like : ($F{montantFraisIndemnite} == null ? $F{montantFraisRejetPacs004} : $F{montantFraisRejetPacs004}.add($F{montantFraisIndemnite})) || ($F{montantFraisRejetPacs004} == null ? $F{montantFraisIndemnite} : $F{montantFraisRejetPacs004}.add($F{montantFraisIndemnite})) in the variable expression from the subreport, but of course, the operator || is undefined for my argument types BigDecimal, BigDecimal. Does anyone have a solution to this, please? Thanks a lot, and best regards. Thomas
  16. Hi there, for those who are interested, the solution was to modify all the jrxml templates in the ireport\templates by suppressing the mention language=groovy in each of it. Bye. Thomas
  17. Hi there! First of all, let me wish you a happy NY! Here is my question : whenever I create a new report, the default language is set to Groovy. I tried to modify it through the menu TOOLS and then OPTIONS, then GENERAL and set theREPORT DEFAULTS language to Java. But no matter how I try, it seems the setting is not saved. And the next nex report always gets back to the groovy default language. Could you help me, please? I use iReport 3.7.2. Best regards, Thomas PS : all apologies for my english!
  18. It's ok. I finally got it! Thanks.
  19. Hi folks, I'm using IReport 3.0.0 + Eclipse. I try to create a document with 2 subreports. The first one is located in a directory almost like following: C:\Eclipse\edition\subreportHeader.jasper The second one is located in a directory like : C:\Eclipse\edition\pack1\subreportHeader.jasper It all work while using Ireport only. But while using Java, the first subreport can't be found. I created a new parameter (SUBREPORT_DIR) like : "../." in order to tell Java where to find the jasper report (in fact to compel java to see in the parent directory). But still does'nt work. I would be interested if you have any idea. Thanks a lot. Thomas PS : please excuse my bad english : i'm french ! Still have to improve it!
×
×
  • Create New...