Jump to content

Putting values from datasource into attributes


mdk

Recommended Posts

Hi,

 

I have some problem with designing a jrxml file. I have to put values from datasource into attributes of ReportElement. For example in this way:

<field name="X" class="java.lang.Integer"/>

<field name="Y" class="java.lang.Integer"/>

 ...

<reportElement  x="$F{X}" y="$F{Y}" width="100" height="20"/>

but it generates error.

 

Anyone have some idea how to achive this?

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...