on 06-29-2010 6:47 PM
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,
Nothing new to add - closing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.