Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 vaFriend
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 WeathersbyFriend
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 vaFriend
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 JFriend
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 WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Are you using separate run and render tasks?

Michael

Developer Evangelist, Silanis
Previous Topic:BIRT API 4.2?
Next Topic:Accessing Filters from IQuery's executeQuery Method
Goto Forum:
  


Current Time: Fri Apr 19 21:27:10 GMT 2024

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

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

Back to the top