Show image depend on parameter [message #262972] |
Sun, 09 December 2007 18:51 |
Eclipse User |
|
|
|
Hi! How can I show an image (logo) from specific location depend of
parameter selected? We have a few different companies using the same
report and depend on the company code they enter as a parameter they need
to see their logo. We dont have any info about images in database. Ive
tried to use URI, but it doesnt like any type of expression apart from
the straight path to the image.
I'm using BIRT 2.2.1
What i need to do is create something similar to this :
if (params("company") == "A")
{
"file:///c:/myprojects/images/companylogo.jpg"
}else{
"file:///c:/myprojects/images/companylogo2.jpg"
}
And also i need to show relative path, sort of
"../../images/companylogo2.jpg"
And at the moment i can't achieve it... may be my sintax wrong, or my
logic...?
Thank you for any ideas!!
|
|
|
Powered by
FUDForum. Page generated in 0.26059 seconds