Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. table {
  2. -fs-table-paginate: paginate;
  3. }
  4.  
  5. <apex:page standardController="Contact" recordSetVar="cs" renderAs="PDF" >
  6.  
  7. <apex:stylesheet value="{!$Resource.PdfCss}"/>
  8.  
  9. <table>
  10. <thead>
  11. <tr><th>Name</th></tr>
  12. </thead>
  13. <tbody>
  14. <apex:repeat value="{!cs}" var="c">
  15. <tr><td>{!c.Name}</td></tr>
  16. </apex:repeat>
  17. <!-- Easy way to get more than one page of rows with default controller -->
  18. <apex:repeat value="{!cs}" var="c">
  19. <tr><td>{!c.Name}</td></tr>
  20. </apex:repeat>
  21. <apex:repeat value="{!cs}" var="c">
  22. <tr><td>{!c.Name}</td></tr>
  23. </apex:repeat>
  24. <apex:repeat value="{!cs}" var="c">
  25. <tr><td>{!c.Name}</td></tr>
  26. </apex:repeat>
  27. <apex:repeat value="{!cs}" var="c">
  28. </apex:repeat>
  29. </tbody>
  30. </table>
  31.  
  32. </apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement