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

inimish

Members
  • Posts

    4
  • 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

Posts posted by inimish

  1. here is the entire text field used in the JRXML:

     

    <textField hyperlinkType="None">

    <reportElement x="284" y="500" width="100" height="9" isRemoveLineWhenBlank="true">

    <printWhenExpression><![CDATA[(!$F{dependantDOB1}.isEmpty() ? Boolean.TRUE : Boolean.FALSE)]]></printWhenExpression>

    </reportElement>

    <textElement>

    <font size="7"/>

    </textElement>

    <textFieldExpression class="java.lang.String"><![CDATA[$F{dependantDOB1}]]></textFieldExpression>

    </textField>

  2. Hi Lucian,

     

    I am facing same error, but I am not using int or long anywhere.

     

    following is the error I am facing:

    O @@@@: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression :

    Source text : (!$F{dependantDOB1}.isEmpty() ? Boolean.TRUE : Boolean.FALSE)

     

     

    <reportElement x="284" y="500" width="100" height="9" isRemoveLineWhenBlank="true">

     

    and this is that part of JRXML: <printWhenExpression><![CDATA[(!$F{dependantDOB1}.isEmpty() ? Boolean.TRUE : Boolean.FALSE)]]></printWhenExpression>

     

    would you happen to know what may have gone wrong in this case?

     

    Thanks in advance.

    </reportElement>

     

     

×
×
  • Create New...