cancel
Showing results for 
Search instead for 
Did you mean: 

footer content is blank from 2nd page onwards

Former Member
0 Kudos

I have two master pages: First and Next

First page has a restriction to occur only once. It has a Footer.

The same Footer is repeated on the next page.

Both are Flowed.

I have a code as below in the initialization event of the First: Footer as well as Next:Footer

var curpage1 = $layout.page ( ref ( $ ) )

var totpages1 = $layout.pageCount()

if ( curpage1 ne totpages1 ) then

$.presence = "hidden"

endif

This way I am able to control the footer to appear on the last page.

I am paassing an internal table to the footer.

But the Footer shows up empty..

To test further, I added a text field and passed a value to it.

It however appears on the last page as desired.

But the actual Footer shows up empty.. only the border for the Footer shows up..

Please advise.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Nothing new to add - closing

jagdishwar_b
Active Participant
0 Kudos

>>I am paassing an internal table to the footer.

>>..

>>But the actual Footer shows up empty.. only the border for the Footer shows up..

it seems the problem could be in the data-binding of internal table to the Footer object,

or the value in the internal table is empty.

to test, you can check by hardcoding the footer object, and see if it really appears from the second page onwards.

regards,

BJagdishwar

Former Member
0 Kudos

After further debug, this is what is happening:

If it is only one page, then the internal table prints in footer.

As soon as the second page is triggered, the internal table is becoming empty.

So I passed the internal table to another internal table and passed the value to the second page. (this is the case when there are only two pages to be printed).

Now the footer appears.

As soon as a thrid page s added, this internal table is also becoming empty.

I circumvented all this by putting text fields (in my case I always know that it is only 4 lines) and passing each line of internal table to each of the text fileds.

it works good now even for n number of pages.

I will keep looking to find a proper solution with the internal table and post the details here.

leaving this post open may be for a week days more to see if any one has a better idea.

Thanks,

Ven

OttoGold
Active Contributor
0 Kudos

Total Posts: 418

Total Questions: 170 (1 unresolved)

Forum Points: 8

You ask a lot, answer a little, right? Maye you would consider finding a new "balance" between you posts and points count.

Otto