|
|
|
Re: Problem when integrating WebViewer into RCP application [message #793186 is a reply to message #793160] |
Tue, 07 February 2012 21:28 |
|
I am not sure this is the issue but you could try:
HashMap myparms = new HashMap();
HashMap emitmap = new HashMap();
myparms.put("SERVLET_NAME_KEY", "frameset");
myparms.put("FORMAT_KEY", "html");
//myparms.put("RESOURCE_FOLDER_KEY", "c:/myresources");
myparms.put("ALLOW_PAGE", "false");
myparms.put("SHOW_PARAMETER_PAGE", "false");
emitmap.put("__overwrite", true);
myparms.put("EMITTER_OPTIONS_KEY", emitmap);
WebViewer.display(rpt, browser, myparms);
Jason
On 2/7/2012 3:57 PM, jo moreau wrote:
> I still have a problem. When i try to change the data, the viewer still
> shows the last report but my where clause string has been changed. I'm
> suspecting caching problems but I cannot find the way to set the
> forceOverwriteReport parameter to true.
> I'm using BIRT 3.7.0.
|
|
|
|
Re: Problem when integrating WebViewer into RCP application [message #793915 is a reply to message #793720] |
Wed, 08 February 2012 18:35 |
|
Can you try adding a __document=newrptdoc.rptdocument to the emitter map?
Jason
On 2/8/2012 8:30 AM, jo moreau wrote:
> It's still not working! You were right, that was not the problem.
>
> Does BIRT uses the getAppContext method every time he's generating a
> report? Is there another way to pass a string to birt without parameter?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03145 seconds