Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT viewer /frameset syntax in INDEX.JSP(Need help with /frameset syntax in INDEX.JSP for reports with parameters)
BIRT viewer /frameset syntax in INDEX.JSP [message #760153] Thu, 01 December 2011 13:47 Go to next message
Angelo Mele is currently offline Angelo Mele
Messages: 3
Registered: November 2011
Junior Member
I've developed some BIRT reports in eclipse and they all work fine. I wanted to make the reports available to the users via the WebViewerExample web app. I've installed the WebViewerExample (v2.6.2) under tomcat 6.0.33 successfully. I've also customized the INDEX.JSP that comes with the wiewer to list my reports for selection to the users. The reports that do not have parameters set up are working fine, but the reports that are suppose to show the parm window are not working. I'm getting the following error:
The report file : C:\apache-tomcat-6.0.33\webapps\WebViewerExample/COSTCTR_MATCH_TO_PROCESS_parm_deptmgr.rptdesign does not exist or contains errors.[/color]

The code in the INDEX.JSP looks like:

<p>
<a
href="<%= request.getContextPath( ) + "/frameset?__report=COSTCTR_MATCH_TO_PROCESS_parm_deptmgr.rptdesign&__DEPTMGR=blank" %>">IS
Department Mgr. Report - Detail of Appian Process Hours Spent,
Select by Department Mgr.</a></p>

The above report is using one parm 'DEPTMGR'. I also need help with the syntax for a report with multiple parms, what is the syntax for the /frameset to enable the parm window to show. the code below is for a report with multiple parms:

<p>
<a
href="<%= request.getContextPath( ) + "/frameset?__report=COSTCTR_MATCH_TO_PROCESS_parm_ProcID_Prod_on_time.rptdesign" %>">IS
Department Mgr. Report - Detail of Appian Process Hours Spent,
Select by ProcID and Process On Time</a></p>

What is the proper syntax for the framset when passing parms. I've tried different variations of the 'xxx.rptdesign&parm' without success. Your assistance would be appreciated.
Re: BIRT viewer /frameset syntax in INDEX.JSP [message #760211 is a reply to message #760153] Thu, 01 December 2011 15:45 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

If the parameter is named DEPTMGR you should add &DEPTMGR=value to the
url. If parameters are required the parameter entry screen should
launch automatically unless you are setting them in the url.

Jason

On 12/1/2011 8:47 AM, Angelo Mele wrote:
> I've developed some BIRT reports in eclipse and they all work fine. I
> wanted to make the reports available to the users via the
> WebViewerExample web app. I've installed the WebViewerExample (v2.6.2)
> under tomcat 6.0.33 successfully. I've also customized the INDEX.JSP
> that comes with the wiewer to list my reports for selection to the
> users. The reports that do not have parameters set up are working fine,
> but the reports that are suppose to show the parm window are not
> working. I'm getting the following error:
> The report file :
> C:\apache-tomcat-6.0.33\webapps\WebViewerExample/COSTCTR_MATCH_TO_PROCESS_parm_deptmgr.rptdesign
> does not exist or contains errors.[/color]
>
> The code in the INDEX.JSP looks like:
>
> <p>
> <a
> href="<%= request.getContextPath( ) +
> "/frameset?__report=COSTCTR_MATCH_TO_PROCESS_parm_deptmgr.rptdesign&__DEPTMGR=blank"
> %>">IS
> Department Mgr. Report - Detail of Appian Process Hours Spent,
> Select by Department Mgr.</a></p>
>
> The above report is using one parm 'DEPTMGR'. I also need help with the
> syntax for a report with multiple parms, what is the syntax for the
> /frameset to enable the parm window to show. the code below is for a
> report with multiple parms:
>
> <p>
> <a
> href="<%= request.getContextPath( ) +
> "/frameset?__report=COSTCTR_MATCH_TO_PROCESS_parm_ProcID_Prod_on_time.rptdesign"
> %>">IS
> Department Mgr. Report - Detail of Appian Process Hours Spent,
> Select by ProcID and Process On Time</a></p>
>
> What is the proper syntax for the framset when passing parms. I've tried
> different variations of the 'xxx.rptdesign&parm' without success. Your
> assistance would be appreciated.
Previous Topic:BIRT Integration
Next Topic:Reg:DataEngine_xxxxxx_xxx
Goto Forum:
  


Current Time: Fri Sep 19 14:00:59 GMT 2014

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

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