Urgent : Birt Viewer - To Jason [message #256503] |
Fri, 28 September 2007 04:48  |
Eclipse User |
|
|
|
Originally posted by: suryakant.in.ibm.com
Hello,
I am trying to generate report using Report engine APIs . Currently am
using scripted data source. When i am using the APIs, am adding the java
class to the application context before starting the platfrom and engine :
HashMap a_HashMap = m_oEngConfig.getAppContext();
a_HashMap.put("BeanReport", oBeanReport);
m_oEngConfig.setAppContext(a_HashMap);
Platform.startup(m_oEngConfig);
IReportEngineFactory a_EngineFactory = (IReportEngineFactory)Platform
createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_EN GINE_FACTORY);
m_ReportEngine = a_EngineFactory.createReportEngine(m_oEngConfig);
and the report is working fine and am able to generate Report.
But now the situation demands the use of BIRT VIEWER .. so am passing the
report name as parameter to birt viewer which is deployed along with my
web application :
" http://localhost:9080/Birt/frameset?__report=ReqsListingRepo rt.rptdesign";
and it was giving error as i expected : BeanReport not defined.
How shd i add the following class to the context of BirtViewer
Also, is there any other way to let my classes accessed by the Birt Viewer
so that i can use scripted data source and have my java classes provide
the data to the report.
do i need to modify the Web.xml file of birtviewer or to place the class
files in the lib directory or to the scriptlib directory of BirtViewer.
Furthur we also have the option to set the system propery before starting
the platform, but i have no idea when and where to set that property in
Viewer.
System.setProperty(
EngineConstants.WEBAPP_CLASSPATH_KEY,"./myclasses/myjars.jar " );
Thank You
|
|
|
|
|
|
|
|
|
|
|
|
Re: Urgent : Birt Viewer - To Jason [message #713646 is a reply to message #710848] |
Mon, 08 August 2011 13:29  |
Eclipse User |
|
|
|
Are you needing an example of using the parameterPage tag library?
Jason
On 8/5/2011 9:29 AM, Yogesh wrote:
> HI,,I am Not able to display the prameterPage defn values please send
> simle zip file to birt Web reporting project
|
|
|
Powered by
FUDForum. Page generated in 0.05792 seconds