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

zaya

Members
  • Posts

    6
  • 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 zaya

  1. Hello. I have a very simple report, producing just a simple xls-list with several columns (in Detail Band) and headline (in Title Band), created and running with version 4.0.2.. After opening and configuring a TextField in the Detail Band (e.g. repartitioning of a Field in the Expression editor), as well as successful compiling and saving of the report, I executed him again on a 4.0.2. version. Following error message (posted in parts only) appeared:"ERROR - 1 - Errors were encountered when compiling report expressions class file: 1. Cannot cast from BigDecimal to String value = (java.lang.String)(((java.math.BigDecimal)field_USED_EU2.getValue())); //$JR_EXPR_ID=16$ <-------------------------------------------------------------------> 2. Cannot cast from Timestamp to String value = (java.lang.String)(((java.sql.Timestamp)field_IMPORT_DATE.getValue())); //$JR_EXPR_ID=21$ <--------------------------------------------------------------------> 3. Cannot cast from BigDecimal to String value = (java.lang.String)(((java.math.BigDecimal)field_TAG_CATEGORY.getValue())); //$JR_EXPR_ID=34$ <(...)" The Expresssion Class was correctly configured, compiled and saved in 4.1.1, but throws an error in 4.0.2.. Additionally a change or correction of the Expression Class, according to the error message, only is possible in 4.0.2.!!!Even if it is changed and saved in version 4.1.1., it will come to the same error message in 4.0.2!!! How can this be fixed? Best regards so far...
  2. thanks for the reply. i could manualy enter the text qualifier in the text field itself. But there isn't any alternative solution for that? thanks in advance, zaya
  3. Hi, has anybody an idee, how can i configure the text qualifier to differentiate my field data from my delimeter in csv-export? i don't find any method for that in the properties. thanks in advance, zaya
  4. Hi all, i have a main report, that contains 2 subreports. (iReport 4.0.2). the second subreport is in the detail band. (if the given parameter is not null, then it creates a new datasheet for each time) and the first subreport illustrates a summary of all datasheet pages. how could i create hyperlinks in the first subreport for each pages (datasheets) of the second subreport? is this generally possible? (maybe through hyperlink type 'remote page'?) i hope so, you can help me with that problem. Thank you. Regards, Zaya Code: <textField isStretchWithOverflow="true" evaluationTime="Band" pattern="#,##0" isBlankWhenNull="false" hyperlinkType="RemotePage"> <reportElement key="textField-4" stretchType="RelativeToTallestObject" x="0" y="4" width="84" height="34" isPrintWhenDetailOverflows="true"/> <box> <topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/> </box> <textElement verticalAlignment="Middle"/> <textFieldExpression class="java.lang.String"><![CDATA["Page " + new java.lang.Integer($V{COLUMN_COUNT} +1)]]></textFieldExpression> <hyperlinkReferenceExpression><![CDATA[??? subreport1.reportcount ????]]></hyperlinkReferenceExpression> </textField>
×
×
  • Create New...