Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='UTF-8' ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core">
- <h:head>
- <title>Revision datos de personas</title>
- </h:head>
- <h:body>
- <h:form id="form1">
- <fieldset>
- <legend style="font-weight: bold">Seleccion de edad</legend>
- <h:panelGrid columns="3">
- <h:outputLabel value="Edad: "/>
- <h:selectOneMenu id="edad" value="#{formularioBean.edad}">
- <f:selectItem itemLabel="25" itemValue="25"/>
- <f:selectItem itemLabel="26" itemValue="26"/>
- <f:selectItem itemLabel="27" itemValue="27"/>
- <f:selectItem itemLabel="28" itemValue="28"/>
- <f:selectItem itemLabel="29" itemValue="29"/>
- <f:selectItem itemLabel="30" itemValue="30"/>
- <f:selectItem itemLabel="31" itemValue="31"/>
- <f:selectItem itemLabel="32" itemValue="32"/>
- <f:selectItem itemLabel="33" itemValue="33"/>
- </h:selectOneMenu>
- <h:commandButton value="Buscar" action="#{formularioBean.eventoPersonaEdad()}"/>
- </h:panelGrid>
- </fieldset>
- </h:form>
- </h:body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement