Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [birt-dev]CheckIn: Fix Bugzilla Bug --- 120042 Report.initializeevent fires after onPrepare events 120014 Java based scripting-> report events does not work properly

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 120042 Report.initialize event fires after onPrepare events 120014 Java based scripting -> report events does not work properly

RunAndRenderTask
1)intialize
2)prepare
3)beforeFactory
4) beforeRender
5)onCreate

6)onRender
7)afterRender
8)afterFactory

Should we switch 4 and 5?

 

 

Stanley Wang

Actuate Corporation

Tel: 650-837-2279

 


From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Wei Yan
Sent: Thursday, December 22, 2005 4:13 AM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev]CheckIn: Fix Bugzilla Bug --- 120042 Report.initializeevent fires after onPrepare events 120014 Java based scripting-> report events does not work properly

 

Summary 

Bugzilla Bug (s) Resolved:
120042 Report.initialize event fires after onPrepare events
120014 Java based scripting -> report events does not work properly

Description:
Call the user defined actions as:

RunTask
1) intialize
2) prepare
3) beforeFactory
5) onCreate
7) closeFactory

RenderTask
1) intialize
2) beforeRender
3) onRender
4) afterRender

RunAndRenderTask
1)intialize
2)prepare
3)beforeFactory
4) beforeRender
5)onCreate
6)onRender
7)afterRender
8)afterFactory

The after/beforeDocumentOpen/close is deprecated.

 
Test Description:
Manual Test
 
Files Edited:
cvs ci -m "add script support" -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataExtractionTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedEmitter.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/AbstractRunTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunAndRenderTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportExecutor.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/ReportContentLoader.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RenderTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ReportContextImpl.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:

 

-Wei Yan

 


Back to the top