Variable usage in java code (JRXML file)

Hi, I would like to use variables in java code. I wanted to realise this kind of code:

    <variable name="abu"  class="java.lang.String" resetType="None">
<textFieldExpression><![CDATA[ new $V{abu}("MM/dd/yy").format($F{CLIENT_BIRTHDATE})]]></textFieldExpression></textField>

Please guide me :)

puniaze's picture
Joined: Mar 23 2020 - 6:57am
Last seen: 3 years 2 months ago

0 Answers:

No answers yet