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.
		
		
		
		
		
			
		
			
				
					
					
						
							72 lines
						
					
					
						
							4.7 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							72 lines
						
					
					
						
							4.7 KiB
						
					
					
				
								<?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:ui="http://xmlns.jcp.org/jsf/facelets"
							 | 
						|
								      xmlns:h="http://xmlns.jcp.org/jsf/html"
							 | 
						|
								      xmlns:p="http://primefaces.org/ui"
							 | 
						|
								      xmlns:f="http://xmlns.jcp.org/jsf/core">
							 | 
						|
								
							 | 
						|
								    <body>
							 | 
						|
								
							 | 
						|
								        <ui:composition template="./template/principal.xhtml">
							 | 
						|
								
							 | 
						|
								          <ui:define name="top">
							 | 
						|
								                <center><h2>U B I C A C I O N</h2></center>
							 | 
						|
								            </ui:define>
							 | 
						|
								            <ui:define name="left" >  
							 | 
						|
								             
							 | 
						|
								             <h:form >
							 | 
						|
								                    <p:menu style="border-color: gray; margin: 1px; width: 163px; height: 600px;">
							 | 
						|
								
							 | 
						|
								                        <p:menuitem action="ProductoLista.xhtml" value="Productos" ajax="false"  icon="pi pi-shopping-bag" iconPos="left" style="background-color: lightgray" styleClass="botonMenu" />
							 | 
						|
								                        <p:menuitem action="proveedorLista.xhtml" value="Proveedores" ajax="false" icon="pi pi-id-card" iconPos="left" style="background-color: white " styleClass="botonMenu"/>
							 | 
						|
								                        <p:menuitem action="marcaLista.xhtml" value="Marcas" ajax="false" icon="pi pi-tag" iconPos="left" style="background-color: lightgray" styleClass="botonMenu" />                   
							 | 
						|
								                        <p:menuitem action="categoriaLista.xhtml" value="Categorias" ajax="false" icon="pi pi-star" iconPos="left" style="background-color: white" styleClass="botonMenu" />          
							 | 
						|
								                        <p:menuitem action="UbicacionAlmacenLista.xhtml" value="Almacen" ajax="false" icon="pi pi-map-marker" iconPos="left" style="background-color: lightgray" styleClass="botonMenu"/>
							 | 
						|
								                        <p:menuitem action="usuariosLista.xhtml" value="Usuarios" ajax="false" icon="pi pi-users" iconPos="left" style="background-color: white" styleClass="botonMenu" />
							 | 
						|
								                    </p:menu>
							 | 
						|
								                </h:form>
							 | 
						|
								            </ui:define>
							 | 
						|
								          
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								            <ui:define name="content">
							 | 
						|
								
							 | 
						|
								                 <f:view>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								                    <h:form>
							 | 
						|
								                   
							 | 
						|
								                       
							 | 
						|
								                         <h:panelGrid id="grid" columns="3" >
							 | 
						|
								                           <p:outputLabel style="font-weight:bolder"  value="Bodega:" for="bodega"/>
							 | 
						|
								                            <p:inputText id="bodega" value="#{demoBeanUbicacionalmacen.ubicacionalmacen.bodega}" title="Bodega" required="true" requiredMessage="CAMPO REQUERIDO."/>
							 | 
						|
								                                  
							 | 
						|
								                            <p:message for="bodega"/>
							 | 
						|
								                            <p:outputLabel style="font-weight:bolder"  value="Pasillo:" for="pasillo"/>
							 | 
						|
								                            <p:inputText id="pasillo" value="#{demoBeanUbicacionalmacen.ubicacionalmacen.pasillo}" title="Pasillo" required="true" requiredMessage="CAMPO REQUERIDO."/>
							 | 
						|
								                             <p:message for="pasillo"/>
							 | 
						|
								                            <p:outputLabel style="font-weight:bolder"  value="Estante:" for="estante"/>
							 | 
						|
								                            <p:inputText id="estante" value="#{demoBeanUbicacionalmacen.ubicacionalmacen.estante}" title="Estante" required="true" requiredMessage="CAMPO REQUERIDO."/>
							 | 
						|
								                             <p:message for="estante"/>
							 | 
						|
								                            <p:outputLabel style="font-weight:bolder"  value="Seccion:" for="seccion"/>
							 | 
						|
								                            <p:inputText id="seccion" value="#{demoBeanUbicacionalmacen.ubicacionalmacen.seccion}" title="Seccion" required="true" requiredMessage="CAMPO REQUERIDO."/>
							 | 
						|
								                             <p:message for="seccion"/>
							 | 
						|
								                           
							 | 
						|
								                                </h:panelGrid>
							 | 
						|
								                        <p:commandButton style="margin-left: 10px; background-color:green; border-color: green" action="#{demoBeanUbicacionalmacen.agregarUbicacion()}" icon="pi pi-check"  ajax="false" update="grid" rendered="#{demoBeanUbicacionalmacen.nuevo}"/>
							 | 
						|
								                        <label>  </label>
							 | 
						|
								                        <p:commandButton action="UbicacionAlmacenLista.xhtml" ajax="false" actionListener="#{demoBeanUbicacionalmacen.editarUbicacion()}"  icon="pi pi-check" style="background-color:green; border-color: green" update="grid" rendered="#{!demoBeanUbicacionalmacen.nuevo}"/>
							 | 
						|
								                         <label>  </label>
							 | 
						|
								                         <p:commandButton action="UbicacionAlmacenLista.xhtml" icon="pi pi-times" style="background-color: red; border-color: red" ajax="false" immediate="true"/>
							 | 
						|
								                     
							 | 
						|
								                    </h:form>
							 | 
						|
								                </f:view>
							 | 
						|
								  
							 | 
						|
								                
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								        </ui:composition>
							 | 
						|
								
							 | 
						|
								    </body>
							 | 
						|
								</html>
							 |