Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Using bindings in the expression editor?
Using bindings in the expression editor? [message #832545] Fri, 30 March 2012 09:09 Go to next message
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
Member
I insert an image from the shared resource into my report like:

images/test.png

which works fine. Now I need:

1) The relative folder path to come from a report variable
2) And the image name to come from a variable in the dataset.

I have tried to specify the path using the expression editor like:

vars["myVar"]/row["Name"]


where myVar is a report variable:

Name: myvar
Default Value: "images"

and the row["Name"] resolves to test.png. But nothing happens when I preview the report. How do I combine the two variables:

vars["myVar"]/row["Name"]

for form the same path as "images/test.png" using the expression editor?
Re: Using bindings in the expression editor? [message #832553 is a reply to message #832545] Fri, 30 March 2012 09:19 Go to previous message
js Missing name is currently offline js Missing nameFriend
Messages: 73
Registered: July 2009
Member
vars["myVar"]+"/"+row["Name"]


seems to do the trick
Previous Topic:Use of XML DataSource with http security (JAAS auth-mode = BASIC)
Next Topic:Can't add more than one x/y series to scatterplot
Goto Forum:
  


Current Time: Fri Apr 26 06:08:43 GMT 2024

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

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

Back to the top