Advertisement
Guest User

html

a guest
Jun 28th, 2019
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml"
  5.     xmlns:f="http://java.sun.com/jsf/core"
  6.     xmlns:h="http://java.sun.com/jsf/html"
  7.     xmlns:p="http://primefaces.org/ui">
  8. <h:head>
  9.     <title>Login</title>
  10.     <link rel="stylesheet" href="../css/reset.css" />
  11.     <link rel="stylesheet" href="../css/bootstrap.css" />
  12.     <link rel="stylesheet" href="../css/index-style.css" />
  13.     <link rel="stylesheet" href="../css/register-style.css" />
  14. </h:head>
  15. <h:body>
  16.     <h:form>
  17.         <p:panel header="Insira o nome de usuário e senha para validar o login:">
  18.        
  19.             <h:panelGrid>
  20.                 <p:outputLabel>Insira o nome do usuário:</p:outputLabel>
  21.                 <p:inputText value="#{userBean.nome}" />
  22.             </h:panelGrid>
  23.  
  24.             <h:panelGrid>
  25.                 <p:outputLabel>Insira a senha do usuário:</p:outputLabel>
  26.                 <p:inputText value="#{userBean.senha}" />
  27.             </h:panelGrid>
  28.            
  29.             <h:panelGrid>
  30.                 <p:commandButton value="Entrar"
  31.                     actionListener="#{userBean.loginUser}" style="margin-top: 20px" />
  32.             </h:panelGrid>
  33.            
  34.         </p:panel>
  35.     </h:form>
  36. </h:body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement