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 12: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 16: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
Re: Get current page number in table header [message #714610 is a reply to message #714496] Thu, 11 August 2011 04: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 10: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 15:35 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1621
Registered: July 2009
Senior Member

Are you using separate run and render tasks?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:BIRT API 4.2?
Next Topic:Accessing Filters from IQuery's executeQuery Method
Goto Forum:
  


Current Time: Wed Oct 01 06:03:02 GMT 2014

Powered by FUDForum. Page generated in 0.01771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software