Bug 163750 - pageNumber in script onRender have no effect in PDF
Summary: pageNumber in script onRender have no effect in PDF
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: Future   Edit
Assignee: Gang Liu CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2006-11-08 00:45 EST by ZhenZhong Fei CLA
Modified: 2008-12-21 22:20 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ZhenZhong Fei CLA 2006-11-08 00:45:24 EST
Step to reproduce:
1.new a re[port and insert two labels 
2.input text in the first label "page 1" and "page 2" in second page
3.set page break before to the second label
4.choose second label and switch to script onRender input"if(this.pageNumber==2)
this.style.color="blue";"
5.preview in PDF

Actual result:
The page 2 isn't become blue in PDF preview and the webviewer is ok.

Expected result:
pageNumber in script onRender can take effect in PDF
Comment 1 Wei Yan CLA 2007-05-20 22:56:53 EDT
defer to future release
Comment 2 Wenfeng Li CLA 2007-05-21 01:29:48 EDT
add "plan" key word.