fork download
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://w...content-available-to-author-only...3.org/TR/html4/loose.dtd">
  3. <html
  4. xmlns="http://w...content-available-to-author-only...3.org/1999/xhtml"
  5. xmlns:h="http://j...content-available-to-author-only...n.com/jsf/html"
  6. xmlns:f="http://j...content-available-to-author-only...n.com/jsf/core"
  7. xmlns:ui="http://j...content-available-to-author-only...n.com/jsf/facelets"
  8. xmlns:p="http://p...content-available-to-author-only...s.org/ui">
  9.  
  10. <h:head>
  11.  
  12. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
  13. <link rel="stylesheet" type="text/css" href="css/loginstyle.css" />
  14.  
  15. <title>Login</title>
  16.  
  17. </h:head>
  18.  
  19. <h:body >
  20.  
  21. <h1> Carona Social </h1>
  22.  
  23. <h:form>
  24. <h:panelGrid columns="2" cellpadding="6">
  25. <h:outputLabel for="username" value="Username:" />
  26. <p:inputText value="#{sistemaBean.username}"
  27. id="username" required="true" label="username" />
  28.  
  29. <h:outputLabel for="password" value="Password:" />
  30. <p:password id="password" value="#{sistemaBean.password}" feedback="true"/>
  31.  
  32. <f:facet name="footer">
  33. <p:commandButton id="loginButton" value="Login"
  34. actionListener="#{sistemaBean.valida}" style="margin-left:80px; margin-top:10px;" />
  35.  
  36. <p:commandButton id="showCadastraDialog" value="Cadastrar"
  37. onclick="PF('dlg').show()" style="margin-left:50px;" />
  38.  
  39. </f:facet>
  40. </h:panelGrid>
  41.  
  42. <p:dialog header="Enter FirstName" widgetVar="dlg" resizable="false">
  43. <h:form id="form">
  44.  
  45. <h:panelGrid columns="2" style="margin-bottom:10px">
  46. <h:outputLabel id="firstname" value="Firstname:" />
  47. </h:panelGrid>
  48.  
  49. <p:commandButton id="submitButton" value="Submit" oncomplete="PF('dlg').hide();"/>
  50.  
  51. </h:form>
  52. </p:dialog>
  53. </h:form>
  54.  
  55.  
  56.  
  57. </h:body>
  58. </html>
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
��������������������������������������������������