Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 165399

Summary: [Acceptance][Improve Page Break Management] The Script onPagebreak on the list's group Pagebreak works abnormal
Product: z_Archived Reporter: ZhenZhong Fei <zfei>
Component: BIRTAssignee: Wei Yan <wyan>
Status: VERIFIED DUPLICATE QA Contact: mindan xu <mindan.xu>
Severity: normal    
Priority: P3 CC: bjorn.tyla, bluesoldier, szhu, xwang
Version: 2.1.2Keywords: plan
Target Milestone: 2.5.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
The design flie none

Description ZhenZhong Fei CLA 2006-11-21 21:25:55 EST
Build number: V2.2.0 M2 20061117-1020 and V2.1.2 20061122

Description: refer to the attached design file

Step to reproduce:
1. new a Sample datasource and dataset with query ""select * from CLASSICMODELS.CUSTOMERS""
2. inset a list and drag some column into it.
3. set a group on the list and set group page-break-before always.
4. Define groupBreak="initial" variable in report.initialize() method.
5. Select list, switch to onPageBreak, input groupBreak="list group break happens".
6. Set page break for data item inside list detail band.
7. Insert a data item, set expression as groupBreak;
8. Preview in web viewer/pdf

Actual result:
When preview the attached disgn file. The first tow data is still display "initial" but the page-break is happen.
Comment 1 ZhenZhong Fei CLA 2006-11-21 21:27:01 EST
Created attachment 54303 [details]
The design flie
Comment 2 Wei Yan CLA 2009-04-27 23:29:51 EDT
defer to RC1 due to resource limitation.
Comment 3 Wei Yan CLA 2009-05-15 03:38:55 EDT
BIRT implement a new page script framework as:

1. the user can define onPageStart/onPageEnd in the report or master page
2. the user can define onPageBreak in the elements

The page scripts are invoked in following seqeunce:

report.onPageStart
page.onPageStart
onPageBreak of the element in the current page
page.onPageEnd
report.onPageEnd.

*** This bug has been marked as a duplicate of bug 159857 ***
Comment 4 mindan xu CLA 2009-05-17 23:04:41 EDT
Verified.