Hyperlink with $F{foo}

By: Fadjar Tandabawaa - fadjar340
Hyperlink with $F{foo}
2006-05-31 05:16
Dear All,

I already tried the IReport and use the sample reports but I need to use the hyperlink with value from the field.
Is is possible??


Regards,
Fadjar
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 17 years 1 month ago

2 Answers:

I am facing the same issue , I need to pass in the value from a field to the hyperlink that I create on second field.

Example

My report looks like

10 Dallas
20 California

Now when I click on 10 I need my hyperlink to look like
http://localhost:8080/reportMgmt?repid=1?param1=10

Similary when I click on 20
http://localhost:8080/reportMgmt?repid=1?param1=20

Please help
nairsunil's picture
Joined: Jan 24 2007 - 7:35am
Last seen: 4 years 11 months ago
The Hyperlink Referance Expression is a string. To pass a parameter you simple build the string.

"http://localhost:8080/reportMgmt?repid=1?param1=" + $P{myParameterValue}
svenn's picture
15230
Joined: Mar 19 2007 - 5:57am
Last seen: 16 years 6 months ago
Feedback