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

textfiled expression not executing when called from java but works in ireport


fachhoch

Recommended Posts

<textField isBlankWhenNull="true">
<reportElement positionType="Float" x="136" y="57" width="120" height="12"/>
<textElement>
<font fontName="Microsoft Sans Serif" size="8" pdfFontName="Microsoft Sans Serif" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{FOLLOW_UP}.equals("noSelection")?
"Yes[ ] No[ ]":
$P{FOLLOW_UP}.equals("selectYes")?
"Yes[X] No[ ]" :
"Yes[ ] No[X]"
 
]]></textFieldExpression>
 
 
 
 
 
I am using this   java code   for the value  textfiled.
 
Whne I tested this in iReport it works
but when I  try it from java the value is blank ,is ther any way to debug this?
 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...