You can do this with a text element like:
or in a label onRenderScript like:
this.text = pageNumber +" of " + totalPage;
On 9/7/2010 7:51 AM, Prashant wrote:
> I want to display page number in a non-master page. For e.g. in one of
> the table column data.
> Is it possible to use autotext outside master page?
I just tested with BIRT 3.7 and it appears that it has been fixed. BIRT
3.7 will be released in June.
On 5/30/2011 9:34 AM, firstname.lastname@example.org wrote:
> Hi, Jason.
> I'm using BIRT 2.6.2 without web viewer.
> I try to generate pdf report programmatically with methods, described on
> "New and Notable Features within BIRT 2.6" page.
> But these methods doesn't work (in report Master Page):
> <viewtime-value-of>pageNumber</viewtime-value-of> = 'pageNumber' on
> every page,
> pageNumber = 1 and totalPage = 1 on every page.
> However auto-text field "Page n of m" works correctly.
> How can I separate run and render phase correctly to get report
> variables work?
>> Page variables currently require that you have separate run and render
>> task. If you are using the viewer are you using the /frameset mapping?