I'm trying to figure out how to get an image from the JasperServer
repository on my report.

The documentation says I should use "repo:images/MyLogo.jpg" as reference.

What it doesn't say is which property of the image control should be set to
that value; and how to set  it.



I tried out the Image.Expression.Text and Image.Expression.ValueClassproperties

  - A java.net.URL didn't work because 'repo' is unknown as URL


  - A java.lang.String at least didn't give any errors, but id didn't
  show anything (not surprised)


  - I used JRImageRenderer.getINstance("repo:...")  to get an
  net.sf.jasperreports.engine.JRRenderable. didn't work


Next I tried out ImageHyperlink

  - Hyperlink reference expression = "repo:…"
  - Hyperlink target = Self
  - Hyperlink Type = Reference

but that didn't work either.

I'm out of options. Can anybody help?



Regards, Marc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to