Jump to content
Changes to the Jaspersoft community edition download ×

Dynamic Images path


Recommended Posts

By: Nick - nbernierpq

Dynamic Images path

2003-06-25 10:56

Hi, I'm trying to send the images path in parameters. I use

<imageExpression class="java.lang.String"><![CDATA["$P{ImagesDir} + ReportLogo.gif"]]></imageExpression>. But can't make it work. I always have the the exception : Image not found : ((java.lang.String)parameter_ImagesDir.getValue()) + ReportLogo.gif

 

What is the right syntax? Can somebody help me please.

 

 

 

 

By: Chuck Deal - cdeal

RE: Dynamic Images path

2003-06-25 11:10

Your quote is in the wrong place.

 

$P{ImagesDir} is a variable...the proper syntax should be:

 

$P{ImagesDir} + "ReportLogo.gif"

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