Case1182 Posted September 1, 2007 Share Posted September 1, 2007 I have some Hyperlinks on some fields in my report. I want it to show a alt link when moused over, such as, "click here for" not the long url it is directing you to. I am doing this in a PDF Format. :) Link to comment Share on other sites More sharing options...
jmurray Posted September 3, 2007 Share Posted September 3, 2007 Let's say your data source returns $F{linkURL} and $F{linkText}. You would use both in a single Text Field. The Text Field Expression would be set to $F{linkText}, and the Hyperlink would be configured as a "Reference" with the Hyperlink Reference Expression being set to $F{linkURL}. You can also add tooltip text if you need to. ------------- NOTE: Adobe Acrobat Reader has some quirky behaviour relating to the Hyperlink Target setting. If you set the target to "Blank" you would expect a new browser window to open when the hyperlink is clicked. That actually happens if you are using native Acrobat. But if you're using the AcroRead java plugin then it will always open in the same window. That's just the way the guys that wrote the plugin handle things, nothing to do with iReport or JasperReports Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now