Jump to content
Changes to the Jaspersoft community edition download ×

HyperLink problem


2005 IR Help

Recommended Posts

By: petershen - pshen

HyperLink problem

2004-03-24 19:12

Can a HyperLink link to another jasperreports?

 

In the sample of jasperReports I only find links to archor, or another pdf,like that.

 

Best Regards,

Peter

 

 

 

 

By: David Lim - aberrant80

RE: HyperLink problem

2004-03-24 19:51

What do you mean "to another jasperreports"? u want to link to the api?

 

 

 

 

By: petershen - pshen

RE: HyperLink problem

2004-03-24 23:04

Thank u for u reply.

what i mean is:

on open report there's link which links to another jasperreport.

so If I view this report with pfd, on the pdf the hyperlink can link to another pdf file,

while if i view the report with jrviewer, click this report it will popup another report in jrviewer.

 

Thank you so much

 

 

 

 

 

By: Teodor Danciu - teodord

RE: HyperLink problem

2004-03-25 11:58

 

Hi,

 

You need to implement the JRHyperlinkListener

interface and register and instance with the viewer

so that you get informed when the user clicks on

a hyperlink in the viewer.

Then, based on the information from the link that was

clicked you can launch yourself another viewer with

a different document.

 

By default, the viewer cannot do that for you

because it has no idea about how do you want

to handle the links.

This way you teach it what to do.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...