|
|||
|
Hello.
I try to change one image im my report. I have one data (row["MyData"]) and i want change the image when my data change status, for exemplo: if (row["MyData"] == "OK"){ //here is the problem, how to the display the image? display image = "OK.png"} else display image = "Bad.png" I dont know how i do it... I try to use Embed Image, Image URI and dont have sucess... Thanks for all. |
|
|||
|
Hi synrbc,
Check out these posts from the devShare: BIRT: Dynamic Images - Tips & Tricks - BIRT Exchange BIRT: Dynamic Image Examples - Designs & Code - BIRT Exchange Hope this helps. |
|
|||
|
Hi.
I saw the examples, but, i still have one doubt: See my case... I created one computed column "Test": if (row["ORG"] == 1) { this.file ("nav_unlock_down.gif"); } else { this.file ("nav_safe_easy_down.gif"); } And, i created one data in my table to call Test: "Data" -> row[Test] But, the report does not show the image, show a red cross. Tha images are inside the same project (C:\Workspace\ActuateJavaComponent) By the examples, i cant find where i mistake. Where can I set the folder where the images are? Thanks for all |
![]() |
| Thread Tools | |
| Display Modes | |
|
|