Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Get current page number in table header
Get current page number in table header [message #714376] Wed, 10 August 2011 08:55 Go to next message
sam va is currently offline sam va
Messages: 121
Registered: July 2011
Senior Member
Hi All

How do I get the current page number in a table header. Not in a master page.

Thanks
Re: Get current page number in table header [message #714496 is a reply to message #714376] Wed, 10 August 2011 12:26 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

If you are using separate run and render task like the viewer with the
/frameset mapping you can add a text element to the header and enter a
value like:

<VALUE-OF>pageNumber</VALUE-OF>

Make sure to set the type to html.

Jason

On 8/10/2011 8:55 AM, sam wrote:
> Hi All
>
> How do I get the current page number in a table header. Not in a master
> page.
>
> Thanks


Jason Weathersby

BIRT Exchange
Re: Get current page number in table header [message #714610 is a reply to message #714496] Thu, 11 August 2011 00:47 Go to previous messageGo to next message
sam va is currently offline sam va
Messages: 121
Registered: July 2011
Senior Member
thank you
Re: Get current page number in table header [message #1057978 is a reply to message #714376] Fri, 10 May 2013 06:05 Go to previous messageGo to next message
Balamurugan J is currently offline Balamurugan J
Messages: 1
Registered: May 2013
Junior Member
Hi,

I am facing the same problem. I need to place the page number in the table header.
My render option is using BIRT API using a java program, i am generating PDF. The page number is always displayed as 1 in each page if I keep this text field in header.
I tried to place this page number in the detail section, then the page number is displayed correctly. However for each row the page number is displayed which I am not intend to do that. So please help me.

I am using page number using the following in the text field with the output type set as html.
<VALUE-OF>pageNumber</VALUE-OF>

Thanks,
Bala.
Re: Get current page number in table header [message #1058047 is a reply to message #1057978] Fri, 10 May 2013 11:35 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1424
Registered: July 2009
Senior Member

Are you using separate run and render tasks?

Michael
Actuate – The BIRT Company™

BIRT Developer Center
Check out the new, free BIRT Viewer Toolkit
Previous Topic:BIRT API 4.2?
Next Topic:Accessing Filters from IQuery's executeQuery Method
Goto Forum:
  


Current Time: Thu Apr 17 00:00:45 EDT 2014

Powered by FUDForum. Page generated in 0.02846 seconds