|
Re: Dropped elements still being rendered [message #854337 is a reply to message #854020] |
Mon, 23 April 2012 22:13 |
|
Steve
This looks like it may be a bug. Can you reproduce with a sample report?
Jason
On 4/23/2012 11:15 AM, Steve Schafer wrote:
> Hi,
>
> This is a strange problem. I am using the run and render task
> separately. In some of my reports I'm dropping some tables in the
> beforeFactory event, like this:
>
> reportContext.getDesignHandle().findElement("details_table").drop();
>
> Some times, but not always, the render task still tries to render the
> dropped elements. I can tell this from logging in onPrepare, onCreate
> and onRender of the table. The table doesn't get prepared or created but
> onRender is still called, resulting in errors because the renderer
> cannot find the data in the report document.
>
> This doesn't always happen, but when it does happen it's consistent for
> a given report. If I use IRunAndRender, the problem does not occur.
> Any thoughts about why this might be happening?
>
> Thanks
>
|
|
|
Powered by
FUDForum. Page generated in 0.02647 seconds