Skip to main content



      Home
Home » Archived » BIRT » Show image depend on parameter
Show image depend on parameter [message #262972] Sun, 09 December 2007 18:51
Eclipse UserFriend
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 don’t have any info about images in database. I’ve
tried to use URI, but it doesn’t 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!!
Previous Topic:BIRT 2.2 Integration problems
Next Topic:Crosstab sub-total location
Goto Forum:
  


Current Time: Tue Jul 22 00:43:28 EDT 2025

Powered by FUDForum. Page generated in 0.26059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top