Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. public class LicenseActivationController {
  2. ...
  3. public static Boolean CheckValidLicense(String activationId, String username, String password) {
  4. ...
  5. }
  6. }
  7.  
  8. <apex:page standardController="Contact" extensions="LicenseActivationController">
  9. <apex:form >
  10. <apex:pageBlock title="License Activation">
  11. <apex:pageBlockSection columns="1">
  12. <apex:outputLabel value="Username:" for="username"/>
  13. <apex:inputText value="{!username}" id="username" />
  14. <apex:outputLabel value="Password:" for="password"/>
  15. <apex:inputText value="{!password}" id="password" />
  16. <apex:outputLabel value="Activation ID:" for="activationID"/>
  17. <apex:inputText value="{!activationID}" id="activationID" />
  18. </apex:pageBlockSection>
  19. <apex:pageBlockButtons >
  20. <apex:commandButton value="Activate" />
  21. </apex:pageBlockButtons>
  22. </apex:pageBlock>
  23. </apex:form>
  24. </apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement