fachhoch Posted August 4, 2011 Share Posted August 4, 2011 <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 worksbut when I try it from java the value is blank ,is ther any way to debug this? Link to comment Share on other sites More sharing options...
szaharia Posted August 5, 2011 Share Posted August 5, 2011 Hi,The java code was not printed out in your post. Try to insert a complete code sample here.Thank you,sandaPost Edited by shertage at 08/05/2011 13:20 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now