Skip to main content



      Home
Home » Archived » BIRT » View hyperlinks in weblogic server(View hyperlinks in weblogic server)
View hyperlinks in weblogic server [message #740956] Tue, 18 October 2011 23:27 Go to next message
Eclipse UserFriend
Hi,

We have created a report with hyperlinks in it, it works fine when previewed but when deployed in server, it does not work because the url is:

http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.

This url works only if we have relative path for rptdesign.But the hyperlink created from report automatically takes absolute path.

We have created hyperlink using hyperlink option in birt.

Any idea on how to resolve this issue.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #741418 is a reply to message #740956] Wed, 19 October 2011 10:04 Go to previous messageGo to next message
Eclipse UserFriend
What version of BIRT are you using and can you post the design?

Jason

On 10/18/2011 11:27 PM, kkp wrote:
> Hi,
>
> We have created a report with hyperlinks in it, it works fine when
> previewed but when deployed in server, it does not work because the url is:
>
> http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.
>
> This url works only if we have relative path for rptdesign.But the
> hyperlink created from report automatically takes absolute path.
> We have created hyperlink using hyperlink option in birt.
>
> Any idea on how to resolve this issue.
> Thanks,
> Hari Priya
Re: View hyperlinks in weblogic server [message #741968 is a reply to message #741418] Wed, 19 October 2011 23:52 Go to previous messageGo to next message
Eclipse UserFriend
Birt version used is 3.7.

Below is attached master and detail rptdesign files.They work fine when previed but when deployed in server , the hyper link fails as the url would turn out to be:

http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.

Attached are master and detail rptdesign files.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #742535 is a reply to message #741968] Thu, 20 October 2011 11:29 Go to previous messageGo to next message
Eclipse UserFriend
Hari,

I just deployed these two reports and it worked fine. Can you post your
web.xml?

Jason

On 10/19/2011 11:52 PM, kkp wrote:
> Birt version used is 3.7.
>
> Below is attached master and detail rptdesign files.They work fine when previed but when deployed in server , the hyper link fails as the url would turn out to be:
>
> http://localhost:8001/reporting/__report=c:\view\SalesInvoice.rptdesign.
>
> Attached are master and detail rptdesign files.
>
> Thanks,
> Hari Priya
>
Re: View hyperlinks in weblogic server [message #743636 is a reply to message #742535] Fri, 21 October 2011 12:22 Go to previous messageGo to next message
Eclipse UserFriend
Jason,

The web.xml is the same file that is taken from viewer.
We are rendering master report using birt report tag.

I have tried placing the rptdesign in default working folder but in vain.
If the url is modified as below it works:

http://localhost:8001/reporting/__report=SalesInvoice.rptdesign.
The issue is with the absolue path of the rptdesign.If it is changed to relative path it is working fine.But how do i change it to relative path on the fly.Is there any way i can have only relative path.

Kindly suggest how to proceed.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #748246 is a reply to message #743636] Mon, 24 October 2011 11:29 Go to previous messageGo to next message
Eclipse UserFriend
Hari,

If you open the WebViewer (not through tag libs) does it work?

Jason


On 10/21/2011 12:22 PM, kkp wrote:
> Jason,
>
> The web.xml is the same file that is taken from viewer.
> We are rendering master report using birt report tag.
>
> I have tried placing the rptdesign in default working folder but in vain.
> If the url is modified as below it works:
>
> http://localhost:8001/reporting/__report=SalesInvoice.rptdesign.
> The issue is with the absolue path of the rptdesign.If it is changed to
> relative path it is working fine.But how do i change it to relative path
> on the fly.Is there any way i can have only relative path.
>
> Kindly suggest how to proceed.
>
> Thanks,
> Hari Priya
Re: View hyperlinks in weblogic server [message #748304 is a reply to message #748246] Mon, 24 October 2011 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Jason,

Yes it works in webviewer.

Thanks,
Hari Priya
Re: View hyperlinks in weblogic server [message #748341 is a reply to message #748304] Mon, 24 October 2011 12:42 Go to previous messageGo to next message
Eclipse UserFriend
Can you post the tag snippet you are using to render the report so I can
try to reproduce the issue?

Jason

On 10/24/2011 12:14 PM, kkp wrote:
> Jason,
>
> Yes it works in webviewer.
>
> Thanks,
> Hari Priya
Re: View hyperlinks in weblogic server [message #749475 is a reply to message #748341] Tue, 25 October 2011 04:39 Go to previous messageGo to next message
Eclipse UserFriend
hi,

below is the tld we are using.

<birt:report id="birtViewer"
reportDocument="xyz.rptdocument"
format="html"
frameborder="no"
isHostPage="false"
pageNum="<%=pageNum%>"
scrolling="no"
width="950"
reportContainer="div"
contentEncoding="UTF-8">
</birt:report>
Re: View hyperlinks in weblogic server [message #750018 is a reply to message #749475] Tue, 25 October 2011 11:26 Go to previous message
Eclipse UserFriend
The issue appears to be because you are using a rptdocument instead of a
report design. I assume you generated the rptdocument in the designer
and not in the viewer? Run the report in the viewer and either add
&__document=master.rptdocument or just look in the documents folder to
get the report document that is generated by the viewer. Use this
document instead of the one generated in the designer.

Jason

On 10/25/2011 4:39 AM, kkp wrote:
> hi,
>
> below is the tld we are using.
>
> <birt:report id="birtViewer" reportDocument="xyz.rptdocument"
> format="html" frameborder="no" isHostPage="false" pageNum="<%=pageNum%>"
> scrolling="no" width="950" reportContainer="div"
> contentEncoding="UTF-8">
> </birt:report>
Previous Topic:PageCount with bookmark
Next Topic:Create reportdesign with the Birt API in java
Goto Forum:
  


Current Time: Tue Jul 22 18:05:03 EDT 2025

Powered by FUDForum. Page generated in 0.04470 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top