Rendering the rptDocument while its being generated [message #725125] |
Wed, 14 September 2011 03:17 |
sam va Messages: 121 Registered: July 2011 |
Senior Member |
|
|
Hi
I have a requirement, where I need to render the rptDocument while its being generated.
Lets assume the rptDocument contains 40 pages and it has generated 2 pages and the rest are being processed. Can I use the same rptDocument to render the first page in HTML (using the report tag)?
Thanks
[Updated on: Wed, 14 September 2011 03:20] Report message to a moderator
|
|
|
Re: Rendering the rptDocument while its being generated [message #725141 is a reply to message #725125] |
Wed, 14 September 2011 04:58 |
|
When the report document is being created you can set a callback class
that you could use to do this. You set the page handler on the task like
task.setPageHandler( classinstance )
The class needs to implement the IPageHandler interface.
There may be an example of this in the
org.eclipse.birt.report.tests.engine.api project.
Jason
On 9/13/2011 11:17 PM, sam wrote:
> Hi
>
> I have a requirement, where I need to render the rptDocument while its
> being generated.
> Lets assume the rptDocument contains 40 pages and it has generated 2
> pages and the rest are being processed. Can I use the same rptDocument
> to render the first page initially?
>
> Thanks
|
|
|
|
|
Re: Rendering the rptDocument while its being generated [message #726120 is a reply to message #725750] |
Fri, 16 September 2011 15:44 |
|
I am not certain it will work with the report tag, but reading the
rptdocument as it is being created should be fine (guess).
Jason
On 9/15/2011 12:37 PM, vavesw wrote:
> yes we can get the notifications.
> But wouldn't using the same rptdocument, that is getting generated, to
> render create a problem. I am using run task to generate the document
> and report tag to render the document.
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03937 seconds