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

juanpzfz

Members
  • Posts

    11
  • 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 juanpzfz

  1. Scenario: -I have 3 styles. style1, style2, style3. -I've created a 4th style (style4) that I want to set its parent as style3. -On "Add/Modify style" screen I set the "Parent style" using the combo as "style3". -Press OK then I go back to "Styles" screen. -I select again the style4 to be modified then at "Add/Modify style" screen the "Parent style" is now "style2" !. -Press OK then I go back to "Styles" screen. -I select again the style4 to be modified then at "Add/Modify style" screen the "Parent style" is now "style1" !!. -Press OK then I go back to "Styles" screen. -I select again the style4 to be modified then at "Add/Modify style" screen the "Parent style" is now "" blank !!!. Last to say that during all this test, the XML code of the report has been unchanged. I mean the parent style of style4 has been always style3, although the ireport has changed its parentstyle Environment. WinXP Pro. IReport 2.0.0 Bug maybe?
  2. Ok. I think I've solve my issue. It is possible to put static text (and also some dinamic text) at the botton of subreports. How? Using Background band. 1) Resize Background band as height as the page dimension. For example an A4 portait has 842 high, so you have to size background band to 842. 2) Put the static text such as legends or foot-titles at the botton of Background band. That's all. that static text will be appear at the botton of your subreport pages. What if the detail of the subreport occupies the whole page? Will the foot be hidden by the detail? Yes it will. However it is easyly solved booking some place at the botton of your subreport: for example, sizing the subreport footer band at the same height as the legend. Note: You can also put some dinamic data as pagenumber inside background band.
  3. Hi case 1182, thanks for your help. What I would like to accomplish is: Scenario: I have one master report and serveral subreports placed inside header bands (one band for each subreport). The subreports has static foot text (placed at subreport's pageFooter band) like a legend of acronyms used in the subreport, and also has a foot-title at the botton of the subreport page that completes the title at the header of the subreport's page. (Example: if the pagetitle is "General information" the foot-title would be "Section 1. General Information") What I would like to accomplish is to place that foot text at the botton of every subreport's page. (Note that the foot text is different for each subreport.) However that foot text is placed following the detail information of the subreport and NOT at the botton of the page, not even fixed at the botton but fixed at the top (of course I set the position type to Fix to botton). A complete example of my problem (.jrxml and screenshot included) could be found at: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=26219#26219 Thanks a lot for your time.
  4. Hi, I've compiling all topics (at least 12, see bellow) related with the fact that it is unable to place (at the BOTTON of a subreport) a foot text. Something like a custom legend or foottitle for each subreport. Page footer information cannot be placed in the subreport, because it will not be rendered at the bottom of the master report. This is how subreports work. :o( However, Don't you think legends and foot-title are so common stuffs that it have to be inside a good report engite such as JasperReport? Jasper People, What do you think about that? Are you planning something about this topic? Response will be appreciated. Thanks in advance
  5. I have the same problem than rcracel. So, how can I place a "legend/key box" related to subreports. I think this is a quite common funcionality, I mean have some subreports where I would like to put at the BOTTON: legends,static foot information, repeat the subreport title in tiny font... Are Jasper people working on that? I have to wait because it will come in short time or I have to change my design? Example Code:-------------- General Data <-- the title the data <-- the data .. <-- the data Section one p.1 <---the legend AT THE BOTTON --------------- Issues <-- the title the issues <-- the data .. <-- the data Section two p.2 <---the legend AT THE BOTTON --------------- Solutions <-- the title the solutions <-- the data .. <-- the data Section three p.3 <---the legend AT THE BOTTON --------------- ... Response will be appreciate. A lot. Regards
  6. Second chance to post the image size=397]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/SubreportFooter400x400.JPG
  7. Hi, Scenario: I have a master report and a subreport that has pageFooter. The problem: when I run the Master report, the pageFooter of the Subreport is not at the botton of the page but at the end of detail band. Notice that if I run the subreport alone, the pagefooter is placed correctly at the button of the page. See attached image bellow. See also source code sligthly modified from "demosamplessubreport" of jasperreport bundle. What I'm doing wrong? Thanks in advance. Master report: Code:<?xml version="1.0" encoding="UTF-8" ?> <!-- Created with iReport - A designer for JasperReports --> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="MasterReport" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="595" pageHeight="842" columnWidth="515" columnSpacing="0" leftMargin="40" rightMargin="40" topMargin="50" bottomMargin="50" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <style name="Arial_Normal" isDefault="true" fontName="Arial" fontSize="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false" /> <style name="Arial_Bold" isDefault="false" fontName="Arial" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false" /> <style name="Arial_Italic" isDefault="false" fontName="Arial" fontSize="12" isBold="false" isItalic="true" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Oblique" pdfEncoding="Cp1252" isPdfEmbedded="false" /> <parameter name="SUBREPORT_DIR" isForPrompting="true" class="java.lang.String"> <defaultValueExpression ><![CDATA["D:\sw\iReport-1.3.2\_compilados"]]></defaultValueExpression> </parameter> <queryString><![CDATA[sELECT City FROM Address GROUP BY City ORDER BY City]]></queryString> <field name="City" class="java.lang.String"/> <variable name="ProductTotalPrice" class="java.lang.Float" resetType="Report" calculation="System"> </variable> <variable name="CityAddressCount" class="java.lang.Integer" resetType="Report" calculation="System"> </variable> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="43" isSplitAllowed="true" > <line direction="TopDown"> <reportElement x="0" y="0" width="515" height="1" key="line"/> <graphicElement stretchType="NoStretch"/> </line> <staticText> <reportElement style="Arial_Normal" x="0" y="10" width="515" height="30" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font size="22"/> </textElement> <text><![CDATA[Master Report]]></text> </staticText> </band> </title> <pageHeader> <band height="21" isSplitAllowed="true" > <rectangle> <reportElement x="0" y="5" width="515" height="15" backcolor="#333333" key="rectangle"/> <graphicElement stretchType="NoStretch" pen="None"/> </rectangle> <staticText> <reportElement style="Arial_Bold" mode="Opaque" x="0" y="5" width="515" height="15" forecolor="#FFFFFF" backcolor="#333333" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[City List]]></text> </staticText> <line direction="TopDown"> <reportElement x="0" y="20" width="515" height="1" key="line"/> <graphicElement stretchType="NoStretch"/> </line> </band> </pageHeader> <columnHeader> <band height="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="50" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="Arial_Bold" x="5" y="5" width="100" height="15" key="textField" isPrintWhenDetailOverflows="true"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{City}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Band" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="Arial_Bold" x="110" y="5" width="200" height="15" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{CityAddressCount} + " addresses"]]></textFieldExpression> </textField> <staticText> <reportElement style="Arial_Bold" x="110" y="5" width="100" height="15" key="staticText" isPrintRepeatedValues="false" isPrintWhenDetailOverflows="true"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[(continued)]]></text> </staticText> <line direction="TopDown"> <reportElement x="0" y="20" width="515" height="1" key="line" isPrintWhenDetailOverflows="true"/> <graphicElement stretchType="NoStretch"/> </line> <subreport isUsingCache="true"> <reportElement x="0" y="21" width="510" height="20" backcolor="#99CCFF" key="subreport" isRemoveLineWhenBlank="true"/> <subreportParameter name="City"> <subreportParameterExpression><![CDATA[$F{City}]]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <returnValue subreportVariable="REPORT_COUNT" toVariable="CityAddressCount"/> <subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "\AddressReport.jasper"]]></subreportExpression> </subreport> <break> <reportElement style="Arial_Normal" x="0" y="49" width="515" height="0" key="element-1" positionType="FixRelativeToBottom"/> </break> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport> Subreport: Code:[code]<?xml version="1.0" encoding="UTF-8" ?> <!-- Created with iReport - A designer for JasperReports --> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="AddressReport" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="510" pageHeight="842" columnWidth="510" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <style name="Arial_Normal" isDefault="true" fontName="Arial" fontSize="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false" /> <style name="Arial_Bold" isDefault="false" fontName="Arial" fontSize="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false" /> <style name="Arial_Italic" isDefault="false" fontName="Arial" fontSize="8" isBold="false" isItalic="true" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Oblique" pdfEncoding="Cp1252" isPdfEmbedded="false" /> <parameter name="City" isForPrompting="true" class="java.lang.String"/> <queryString><![CDATA[sELECT * FROM Address WHERE City = $P{City}]]></queryString> <field name="Id" class="java.lang.Integer"/> <field name="FirstName" class="java.lang.String"/> <field name="LastName" class="java.lang.String"/> <field name="Street" class="java.lang.String"/> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="14" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="Arial_Bold" x="292" y="2" width="204" height="10" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["Addresses in " + $P{City}]]></textFieldExpression> </textField> <rectangle> <reportElement mode="Transparent" x="0" y="2" width="502" height="10" forecolor="#008080" key="rectangle"/> <graphicElement stretchType="NoStretch" pen="Thin"/> </rectangle> <staticText> <reportElement style="Arial_Italic" x="0" y="2" width="109" height="10" forecolor="#008080" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[Page Header (subreport)]]></text> </staticText> </band> </pageHeader> <columnHeader> <band height="14" isSplitAllowed="true" > <rectangle> <reportElement x="0" y="2" width="20" height="10" forecolor="#CCFFFF" backcolor="#CCFFFF" key="rectangle"/> <graphicElement stretchType="NoStretch"/> </rectangle> <staticText> <reportElement style="Arial_Bold" mode="Opaque" x="0" y="2" width="20" height="10" backcolor="#CCFFFF" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font/> </textElement> <text><![CDATA[iD]]></text> </staticText> <staticText> <reportElement style="Arial_Bold" mode="Opaque" x="29" y="2" width="187" height="10" backcolor="#CCFFFF" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[Name]]></text> </staticText> <staticText> <reportElement style="Arial_Bold" mode="Opaque" x="223" y="2" width="279" height="10" backcolor="#CCFFFF" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[street]]></text> </staticText> </band> </columnHeader> <detail> <band height="14" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="2" width="20" height="10" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{Id}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="29" y="2" width="187" height="10" key="textField" positionType="Float"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{FirstName} + " " + $F{LastName}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="223" y="2" width="279" height="10" key="textField" positionType="Float"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{Street}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="14" isSplitAllowed="true" > <rectangle> <reportElement mode="Transparent" x="0" y="2" width="503" height="10" key="rectangle"/> <graphicElement stretchType="NoStretch" pen="Thin"/> </rectangle> <staticText> <reportElement style="Arial_Italic" x="0" y="2" width="60" height="10" key="staticText"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[Column Footer]]></text> </staticText> </band> </columnFooter> <pageFooter> <band height="14" isSplitAllowed="true" > <rectangle> <reportElement mode="Transparent" x="0" y="2" width="502" height="10" forecolor="#008080" key="rectangle" positionType="FixRelativeToBottom"/> <graphicElement stretchType="NoStretch" pen="Thin"/> </rectangle> <staticText> <reportElement style="Arial_Italic" x="0" y="2" width="89" height="10" forecolor="#008080" key="staticText" positionType="FixRelativeToBottom"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <text><![CDATA[Page Footer (subreport)]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="Arial_Italic" x="423" y="2" width="50" height="10" forecolor="#008080" key="textField" positionType="FixRelativeToBottom"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["Page " + String.valueOf($V{PAGE_NUMBER}) + " of "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="Arial_Italic" x="473" y="2" width="20" height="10" forecolor="#008080" key="textField" positionType="FixRelativeToBottom"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> <staticText> <reportElement style="Arial_Bold" mode="Opaque" x="217" y="2" width="50" height="10" backcolor="#33CCCC" key="staticText" positionType="FixRelativeToBottom"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font/> </textElement> <text><![CDATA[Count :]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement style="Arial_Bold" mode="Opaque" x="267" y="2" width="25" height="10" backcolor="#33CCCC" key="textField" positionType="FixRelativeToBottom"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression> </textField> </band> </pageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport> PD: This topic has been touched (but not solved) in Thread: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=20019&catid=9&limit=6&limitstart=6 PD2: I hope to post the image successfully
  8. Sorry I post the last message twice and I don't know how to delete it. Post edited by: juanpzfz, at: 2007/04/04 09:04
  9. Hi, your idea works!. Thanks a lot. To close this thread I will detail how to do that change: - From iReport menu: "Plugin"-->"Translation status", choose your locale. - Find linecolumn entry and update the change Giulio told: "Lu00EDnea {0,number,integer}, Columna {1,number,integer}" - Click save button. And close the Plugin window - Restart Ireport. Just for curiosity. The new updated Ireport_es_ES.properties will be placed at "documents and settings/[uSER]/.ireport/classes/**/locale" I try to update via Ireport_es_ES.properties placed INTO ireport.rar, but it does NOT work, so do not follow this way. Thanks a lot. Juanpzfz Post edited by: juanpzfz, at: 2007/04/04 09:05 Post edited by: juanpzfz, at: 2007/04/04 09:06
  10. Hi, On my reports I use $V{} and $F{}. But I've created an empty report just for testing with only one static field and I click on its "Print when expression" button and the same exception raises. I also tried with jre 1.5.0_11 (see java -version below). PD: My regional setting is Spanish-Spain, does it have any side effect? Thanks for your time. Juanpzfz --------- NOTE: at startup.bat I've added the java -version. The next output is the result (partial) of calling startup.bat. D:swiReport-1.3.1>java -version java version "1.5.0_11" Java 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot Client VM (build 1.5.0_11-b03, mixed mode, sharing) D:swiReport-1.3.1>java -cp ";.classes;.fonts;;.libantlr-2.7.5.jar;.lib asm-attrs.jar;.libasm.jar;.libbarbecue-1.1.jar;.libbsh-1.3.0.jar;.libcgl ib-2.1.jar;.libcincom-jr-xmla.jar;.libcommons-beanutils-1.7.jar;.libcommon s-collections-2.1.jar;.libcommons-dbcp-1.2.1.jar;.libcommons-digester-1.7.ja r;.libcommons-javaflow-20060411.jar;.libcommons-logging-1.0.2.jar;.libcomm ons-logging-api-1.0.2.jar;.libcommons-pool-1.3.jar;.libdom4j-1.6.jar;.libe hcache-1.1.jar;.libeigenbase-properties.jar;.libeigenbase-resgen.jar;.libe igenbase-xom.jar;.libflexdock-0.4.1.jar;.libgroovy-all-1.0-beta-10.jar;.lib hibernate3.jar;.libhsqldb-1.7.1.jar;.libiReport.jar;.libitext-1.3.1.jar;. libjakarta-bcel-20050813.jar;.libJasperBabylon-1.0.0.jar;.libjasperreports -1.3.1.jar;.libjavacup.jar;.libjcmdline-1.0.2.jar;.libjcommon-1.0.0.jar;. libjdt-compiler-3.1.1.jar;.libjfreechart-1.0.0.jar;.libjpa.jar;.libjr-bsh -compiler.jar;.libjsmoothgen-ant-0.9.7.jar;.libjta.jar;.libjxl-2.6.jar;.l iblog4j-1.2.8.jar;.liblooks-2.0-rc.jar;.libmicroba-0.4.1-bin.jar;.libmond rian-2.0.1.jar;.libmysql-connector-java-3.1.11-bin.jar;.libnsisant-1.1.jar;. libpng-encoder-1.5.jar;.libpoi-2.0-final-20040126.jar;.librex-20070125.jar ;.libsaaj-api-1.3.jar;.libservlet.jar;.libspring-2.0-m2.jar;.libspring-c ontext-2.0-m2.jar;.libspring-hibernate3-2.0-m2.jar;.libsqleonardo-2007.03.ja r;.libtinylaf.jar;.libtoniclf.jar;.libxalan.jar;.libxercesImpl.jar;.lib xml-apis.jar" -Direport.home="D:swiReport-1.3.1" -Djava.security.policy="D:s wiReport-1.3.1/policy.all" -Xms128m -Xmx512m it.businesslogic.ireport.gui.MainF rame Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: unkno wn format type at at java.text.MessageFormat.makeFormat(Unknown Source) at java.text.MessageFormat.applyPattern(Unknown Source) at it.businesslogic.ireport.gui.ExpressionEditor.caretUpdate(ExpressionE ditor.java:1110) at it.businesslogic.ireport.gui.ExpressionEditor.<init>(ExpressionEditor .java:181) at it.businesslogic.ireport.gui.JRTextExpressionArea.jMenuItemTextEditor ActionPerformed(JRTextExpressionArea.java:201) at it.businesslogic.ireport.gui.JRTextExpressionArea.editButtonActionPer formed(JRTextExpressionArea.java:369) ...
  11. Hi, when I click to "expresion editor" button, nothing happens on UI but an exception raises (see below). It also happens to buttons related with edit expressions, for example "Add" button in "Condicional Styles" window. However other buttons like "Foreground" button or "Create.." in pattern field works fine. Thanks in advance. Environment: - iReport 1.3.1 - jre j2sdk1.4.2_12 - "Windows XP proffesional. Version 2002. Service pack 2" ------------------- java.lang.IllegalArgumentException: unknown format type at at java.text.MessageFormat.makeFormat(MessageFormat.java:1426) at java.text.MessageFormat.applyPattern(MessageFormat.java:447) at it.businesslogic.ireport.gui.ExpressionEditor.caretUpdate(ExpressionE ditor.java:1110) at it.businesslogic.ireport.gui.ExpressionEditor.<init>(ExpressionEditor .java:181) at it.businesslogic.ireport.gui.JRTextExpressionArea.jMenuItemTextEditor ActionPerformed(JRTextExpressionArea.java:201) at it.businesslogic.ireport.gui.JRTextExpressionArea.editButtonActionPer formed(JRTextExpressionArea.java:369) at org.syntax.jedit.JEditTextArea$1.actionPerformed(JEditTextArea.java:1 63) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17 86) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra ctButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:245) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2 31) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
×
×
  • Create New...