Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- To change this license header, choose License Headers in Project Properties.
- To change this template file, choose Tools | Templates
- and open the template in the editor.
- -->
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core">
- <head>
- <title>TODO supply a title</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
- </head>
- <h:body>
- <h:form rendered="#{userManager.loginFlag}">
- <h:panelGrid columns="2">
- <h:outputLabel for="usernameInput">Username: </h:outputLabel>
- <h:inputText id="usernameInput" value="#{userManager.username}" required="true" />
- <h:outputLabel for="passwordInput">Password: </h:outputLabel>
- <h:inputSecret id="passwordInput" value="#{userManager.password}" required="true" />
- <h:commandButton value="Login" action="#{userManager.login}" />
- </h:panelGrid>
- </h:form>
- </h:body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement