Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 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>Revision datos de personas</title>
  8. </h:head>
  9. <h:body>
  10. <h:form id="form1">
  11. <fieldset>
  12. <legend style="font-weight: bold">Seleccion de edad</legend>
  13. <h:panelGrid columns="3">
  14. <h:outputLabel value="Edad: "/>
  15. <h:selectOneMenu id="edad" value="#{formularioBean.edad}">
  16. <f:selectItem itemLabel="25" itemValue="25"/>
  17. <f:selectItem itemLabel="26" itemValue="26"/>
  18. <f:selectItem itemLabel="27" itemValue="27"/>
  19. <f:selectItem itemLabel="28" itemValue="28"/>
  20. <f:selectItem itemLabel="29" itemValue="29"/>
  21. <f:selectItem itemLabel="30" itemValue="30"/>
  22. <f:selectItem itemLabel="31" itemValue="31"/>
  23. <f:selectItem itemLabel="32" itemValue="32"/>
  24. <f:selectItem itemLabel="33" itemValue="33"/>
  25. </h:selectOneMenu>
  26. <h:commandButton value="Buscar" action="#{formularioBean.eventoPersonaEdad()}"/>
  27. </h:panelGrid>
  28. </fieldset>
  29. </h:form>
  30. </h:body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement