different header part in every 2nd , 3rd and last page
Hi All,
I am developing EBS rtf template to print in PDF output.
So ,i need to display different header part in every 2nd , 3rd and last page.
how to do this ?
Thanks
Like this?
<?start:body?>
<?call-template:header_details?> --->for page1??
<?call-template:header_details1?> --->for page2??
<?call-template:header_details2?>--->for page3??
<?for-each@section:XMLELEMENT?>
<?call-template:line_details?>
<?end for-each?>
<?end body?>
Please correct me!
Never name it.: Different Page header and footer
try this also
Vishal's blog: Coding different page layouts in a single rtf template and the importance of Contexts in BI Publisher
ok create three template and call in this header
folow this
.https://blogs.oracle.com/xmlpublisher/more-subtemplates
You have to create multiple template and call in this body section of this rtf template which will help you
How many pages are there ....how you want to use and what do u mean by 2,3 and last page.
Create different template and call them as follow
<?call-template:tHEADER_VERSO?> <?start:body?> <?call-template:tHEADER_RECTO?> <?for-each@section:XMLELEMENT?> <?call-template:tDETAILS?> <?end for-each?> <?end body?> <?call-template:tFOOTER?>
To define a template
<?template:tDetail?> text content <?end template?>
hope this helps
Y don`t you create a sub template and call that template each page you want to display
3591335 wrote:How many pages are there ....how you want to use and what do u mean by 2,3 and last page.
I will have max 3 pages lines data for one Order Number.
I have header and lines data only , i don';t have total amount (ex: Total on last page).
Ex:
Page 1of 1
Order Number
1234
Order Date
<?Order_Date?>
Order Total
<?Order_Tot?>
Cust Name
<?cust_name?>
Line No
Line Total
Line Desc
<?line?>
<?Line_Tot?>
<?Line_Desc?>
Page 2of 2
Page 3of 3
Thanks for your help.
Can you please help me where & how to add the above code in the below sample file?
Thanks again,
Could you please help me on this?