Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4. xmlns:h="http://xmlns.jcp.org/jsf/html"
  5. xmlns:f="http://xmlns.jcp.org/jsf/core">
  6. <h:head>
  7. <title>Facelet Title</title>
  8. </h:head>
  9. <h:body>
  10. <h:form>
  11. <h:outputText style="color:red" value="#{homeController.msg}"></h:outputText>
  12. <br/>
  13. Username: <h:inputText value="#{homeController.korime}"></h:inputText>
  14. Password: <h:inputText value="#{homeController.lozinka}"></h:inputText>
  15. <h:selectOneRadio value="#{homeController.type}">
  16. <f:selectItem itemValue="a" itemLabel="autor">
  17. </f:selectItem>
  18. <f:selectItem itemValue="r" itemLabel="recezent"></f:selectItem>
  19. </h:selectOneRadio>
  20. <h:commandButton value="submit" action="#{homeController.login()}"></h:commandButton>
  21. </h:form>
  22. </h:body>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement