You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.6 KiB
44 lines
1.6 KiB
7 months ago
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
||
|
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||
|
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||
|
xmlns:f="http://xmlns.jcp.org/jsf/core"
|
||
|
xmlns:p="http://primefaces.org/ui">
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<ui:composition template="./template/ejemploJazmin.xhtml">
|
||
|
|
||
|
<ui:define name="top">
|
||
|
top
|
||
|
</ui:define>
|
||
|
|
||
|
<ui:define name="left">
|
||
|
left
|
||
|
</ui:define>
|
||
|
|
||
|
<ui:define name="content">
|
||
|
<h:form>
|
||
|
<h1><h:outputText value="Create/Edit"/></h1>
|
||
|
<h:panelGrid columns="2">
|
||
|
|
||
|
<h:outputLabel value="Pasillo:" for="pasillo" />
|
||
|
<h:inputText id="pasillo" value="#{demoBean.ubicacion.pasillo}" title="Pasillo" required="true" requiredMessage="The Pasillo field is required."/>
|
||
|
|
||
|
<h:outputLabel value="Anaquel:" for="anaquel" />
|
||
|
<h:inputText id="anaquel" value="#{demoBean.ubicacion.anaquel}" title="Anaquel" required="true" requiredMessage="The Anaquel field is required."/>
|
||
|
|
||
|
<h:outputLabel value="Nivel:" for="nivel" />
|
||
|
<h:inputText id="nivel" value="#{demoBean.ubicacion.nivel}" title="Nivel" required="true" requiredMessage="The Nivel field is required."/>
|
||
|
|
||
|
</h:panelGrid>
|
||
|
<h:commandButton action ="#{demoBean.agregarU()}" value="Agregar"/>
|
||
|
<h:commandButton action ="marcaLista.xhtml" value="Cancelar" immediate="true"/>
|
||
|
</h:form>
|
||
|
</ui:define>
|
||
|
|
||
|
</ui:composition>
|
||
|
|
||
|
</body>
|
||
|
</html>
|