Jump to content
Changes to the Jaspersoft community edition download ×

Variable usage in java code (JRXML file)


puniaze

Recommended Posts

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">        <variableExpression><![CDATA[simpleDateFormat]]></variableExpression>    </variable>[/code]
<textFieldExpression><![CDATA[ new $V{abu}("MM/dd/yy").format($F{CLIENT_BIRTHDATE})]]></textFieldExpression></textField>[/code]

Please guide me :)

Link to comment
Share on other sites

  • Replies 0
  • 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...