<textfieldexpression class="java.lang.Integer">Correction:
{$F{erCount}>0?$F{erCount}:-1}
</textfieldexpression>
<textfieldexpression class="java.lang.Integer">Remarks:
{$F{erCount}.intValue()>0?$F{erCount}:new Integer(-1)}
</textfieldexpression>
If you don't put that -1 into Integer construtor, you would get Incompatible conditional types Integer and int again.
No comments:
Post a Comment