Jump to content

Url Masking


Case1182

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...