Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » parameter values
parameter values [message #1022752] Fri, 22 March 2013 13:18
Missing name Mising name is currently offline Missing name Mising name
Messages: 14
Registered: February 2013
Junior Member
It appears I can pass paramter values by calling RunTask.setParameterValues(Map) or RenderTask.setParameterValues(Map). Here is how I use birt API.

First Time:
1. open design document
2. generate .rptdocument by using RunTask
3. save the generated .rptdocument into session
4. set parameter values by calling RunTask.setParameterValues
5. use RenderTask to generate a report.

Not First Time:
1. open design document
2. get the generated .rptdocument from session
4. set parameter values by calling RenderTask.setParameterValues
5. use RenderTask to generate a report.

Is this flow right? I found out the generated .rptdocument are saved under "WEB-INF". How do I configure it to be saved under /reports/rptdocuments?

Best regards,

James


Jamas
Previous Topic:oda.flatfile.InvalidResourceException
Next Topic:Using POST to pass parameters to birt instead GET
Goto Forum:
  


Current Time: Sun Sep 21 22:24:25 GMT 2014

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

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