Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Dynamic Image that changes with parameter
Dynamic Image that changes with parameter [message #1061465] Fri, 31 May 2013 19:08 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
Member
Hi all, I am new in the forum, and new on Birt, so I hope that someone can help me.
What I am trying to do is to put a Dynamic Image that changes by differents values that can take a parameter.
The dataset is very simple, it has two columns, one is c_empresa (that is the number of an enterprise) and the other column is URL_IMAGE (that has the URL of the image).

The dataset is:
SELECT c_empresa, URL_IMAGE
FROM table
WHERE c_empresa = :c_empresa

What i want to do is that the URI image take the value of the URL_IMAGE column dinamically and not to put the URL hardcoded.
I create a onRender event on the image with this:

this.setURL(row["URL_IMAGE"];
but it doesnt work..
Is it clear??
Sorry for my english.
Thank you in advance.
Re: Dynamic Image that changes with parameter [message #1061525 is a reply to message #1061465] Sun, 02 June 2013 02:52 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Try this:

this.URI = row["URI_IMAGE"];


Michael

Developer Evangelist, Silanis
Re: Dynamic Image that changes with parameter [message #1061799 is a reply to message #1061465] Tue, 04 June 2013 06:37 Go to previous messageGo to next message
da image is currently offline da imageFriend
Messages: 2
Registered: June 2013
Junior Member
it is very clear, the above codes are helpful
Re: Dynamic Image that changes with parameter [message #1061953 is a reply to message #1061799] Wed, 05 June 2013 06:35 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Great. Glad to help! Let us know whenever you have questions!

Michael

Developer Evangelist, Silanis
Previous Topic:Reading resultset from ReportDesignHandle?
Next Topic:how to set a datetime parameter default to 11:59:59 pm
Goto Forum:
  


Current Time: Thu Sep 19 03:10:13 GMT 2019

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

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

Back to the top