Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <apex:page StandardController="Account">
  2. <!-- Begin Default Content REMOVE THIS -->
  3. <h1>Congratulations</h1>
  4. <apex:form >
  5. <apex:pageBlock title="Accountt" mode="edit">
  6.  
  7. <apex:pageBlockButtons >
  8. <apex:commandButton action="{!save}" value="Save"/>
  9. </apex:pageBlockButtons>
  10.  
  11. <apex:pageBlockSection title="My Account details" columns="2">
  12. <apex:inputField value="{!account.name}"/>
  13. <apex:inputField value="{!account.site}"/>
  14. <apex:inputField value="{!account.type}"/>
  15. <apex:inputField value="{!account.accountNumber}"/>
  16. <apex:inputField value="{!account.Phone}"/>
  17. </apex:pageBlockSection>
  18. <apex:pageBlockSection title="Contacts" columns="1">
  19. <apex:repeat var="Contacts" value="{!Account.Contacts}">
  20. <apex:inputField value="{!Contacts.firstName}"/>
  21. <apex:inputField value="{!Contacts.lastName}"/>
  22. <apex:inputField value="{!Contacts.Email}"/>
  23. <apex:inputField value="{!Contacts.Phone}"/>
  24. <apex:inputField value="{!Contacts.title}"/>
  25. </apex:repeat>
  26. </apex:pageBlockSection>
  27.  
  28. </apex:pageBlock>
  29. </apex:form>
  30. <!-- End Default Content REMOVE THIS -->
  31. </apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement