Hyperlink in jasper

View: New views
5 Messages — Rating Filter:   Alert me  

Hyperlink in jasper

by NamrataH :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,
Can anybody please tell me how to link to reports...
i hv created hyperlink on 1 report and i wnt to take the contents of tht page as parameter to other page.... i m able to do tht but... how to retrive tht parameter in sedond report and to change content dynamically based on parameter....... i m not getting this thing?
any reply will be helpfull

Re: Hyperlink in jasper

by Joydip Maity :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


NamrataH wrote:
hi,
Can anybody please tell me how to link to reports...
i hv created hyperlink on 1 report and i wnt to take the contents of tht page as parameter to other page.... i m able to do tht but... how to retrive tht parameter in sedond report and to change content dynamically based on parameter....... i m not getting this thing?
any reply will be helpfull
Hi,
You can call a Jasper iReport from another iReport using hyperlink.
In the hyperlink section you should set hyperlink type=reference
and in Hyperlink reference expression call another servlet using the code link
"http://localhost:8080/servlets-examples/servlet/callReport3?CUSTOMER_ID=" +
$F{ORDERS_CUSTOMER_ID}
here callReport is a servlet calling another iReort and CUSTOMER_ID is a parameter that
is being passed through the servlet.
For any more details can contact me on joydip_2005@rediffmail.com

Thanks,
Joydip

Re: Hyperlink in jasper

by amar_anr@yahoo.co.in :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Namrata,

I think you can retrieve those parameters in some servlet then fill the parameters , again call the Jasper.
Amarnath.

NamrataH wrote:
hi,
Can anybody please tell me how to link to reports...
i hv created hyperlink on 1 report and i wnt to take the contents of tht page as parameter to other page.... i m able to do tht but... how to retrive tht parameter in sedond report and to change content dynamically based on parameter....... i m not getting this thing?
any reply will be helpfull

Re: Hyperlink in jasper

by anapbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, could you please send me the code of this "servlet/callReport3". I need to use to drilldown on a chart.

Thanks,
Ana


Joydip Maity wrote:
NamrataH wrote:
hi,
Can anybody please tell me how to link to reports...
i hv created hyperlink on 1 report and i wnt to take the contents of tht page as parameter to other page.... i m able to do tht but... how to retrive tht parameter in sedond report and to change content dynamically based on parameter....... i m not getting this thing?
any reply will be helpfull
Hi,
You can call a Jasper iReport from another iReport using hyperlink.
In the hyperlink section you should set hyperlink type=reference
and in Hyperlink reference expression call another servlet using the code link
"http://localhost:8080/servlets-examples/servlet/callReport3?CUSTOMER_ID=" +
$F{ORDERS_CUSTOMER_ID}
here callReport is a servlet calling another iReort and CUSTOMER_ID is a parameter that
is being passed through the servlet.
For any more details can contact me on joydip_2005@rediffmail.com

Thanks,
Joydip

Re: Hyperlink in jasper

by amit.sharma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
You can call a Jasper iReport from another iReport using hyperlink.
In the hyperlink section you should set hyperlink type=reference
and in Hyperlink reference expression call another servlet using the code link
"http://localhost:8080/servlets-examples/servlet/callReport3?CUSTOMER_ID=" +
$F{ORDERS_CUSTOMER_ID}
here callReport is a servlet calling another iReort and CUSTOMER_ID is a parameter that
is being passed through the servlet.
For any more details can contact me on joydip_2005@rediffmail.com

Thanks,
Joydip



Hi Joydip,
I need u's help.
i want to do this same task without using "http://localhost:8080/servlets-examples/servlet/callReport3?CUSTOMER_ID=" +$F{ORDERS_CUSTOMER_ID}" concept. Is there any other way to call a new report by clicking of report generated by iReport and also passing that clicked value as parameter to another report.