BIRT viewer /frameset syntax in INDEX.JSP [message #760153] |
Thu, 01 December 2011 08:47  |
Eclipse User |
|
|
|
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 10:45  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03122 seconds