Advertisement
Guest User

Untitled

a guest
Nov 28th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <!DOCTYPE html>
  8. <html xmlns="http://www.w3.org/1999/xhtml"
  9. xmlns:h="http://xmlns.jcp.org/jsf/html"
  10. xmlns:f="http://java.sun.com/jsf/core">
  11. <head>
  12. <title>TODO supply a title</title>
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  14. </head>
  15. <h:body>
  16. <h:form rendered="#{userManager.loginFlag}">
  17. <h:panelGrid columns="2">
  18. <h:outputLabel for="usernameInput">Username: </h:outputLabel>
  19. <h:inputText id="usernameInput" value="#{userManager.username}" required="true" />
  20. <h:outputLabel for="passwordInput">Password: </h:outputLabel>
  21. <h:inputSecret id="passwordInput" value="#{userManager.password}" required="true" />
  22. <h:commandButton value="Login" action="#{userManager.login}" />
  23. </h:panelGrid>
  24. </h:form>
  25. </h:body>
  26.  
  27. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement