Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <apex:page standardController="Account" recordSetVar="accounts">
  2. <apex:form >
  3.  
  4.  
  5.  
  6. <apex:pageBlock title="Account List" id="account_list">
  7.  
  8.  
  9. <table>
  10. <apex:repeat value="{!accounts }" var="acc">
  11. <tr>
  12. <td>
  13. <apex:selectRadio layout="pageDirection">
  14. <apex:selectOptions value="{!acc.Name}"/>
  15. </apex:selectRadio >
  16. </td>
  17. </tr>
  18. </apex:repeat>
  19. </table>
  20.  
  21.  
  22. <h1> Contacts</h1>
  23.  
  24. <table>
  25. <apex:repeat value="{!accounts }" var="acc">
  26. <tr>
  27. <apex:repeat value="{!acc.Contacts}" var="cont">
  28. <td><apex:outputText value="{!cont.Name}"/></td>
  29. </apex:repeat>
  30. </tr>
  31. </apex:repeat>
  32. </table>
  33.  
  34.  
  35. </apex:pageBlock>
  36.  
  37. </apex:form>
  38. </apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement