Advertisement
Learnify_Rectify

Use Standard List Controllers

Jun 27th, 2024 (edited)
2,211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | Source Code | 0 0
  1. Use Standard List Controllers from (module - Visualforce Basics)
  2.  
  3.  
  4. -------------------------------------------------
  5. SOURCE CODE: AccountList (Visualforce page)
  6.  
  7. <apex:page standardController="Account" recordSetVar="accounts" >
  8. <apex:repeat var="a" value="{!accounts}">
  9. <li>
  10. <apex:outputlink value="/{!a.Id}">
  11. <apex:outputText value="{!a.Name}"></apex:outputText></apex:outputlink>
  12. </li>
  13. </apex:repeat>
  14. </apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement