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
						
					
					
						
							3.3 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							72 lines
						
					
					
						
							3.3 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:f="http://xmlns.jcp.org/jsf/core"
							 | 
						|
								      xmlns:p="http://primefaces.org/ui">
							 | 
						|
								
							 | 
						|
								    <body>
							 | 
						|
								
							 | 
						|
								        <ui:composition template="./template/principal.xhtml">
							 | 
						|
								
							 | 
						|
								            <ui:define name="top">
							 | 
						|
								                top
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								            <ui:define name="left">
							 | 
						|
								                left
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								            <ui:define name="right">
							 | 
						|
								                right
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								            <ui:define name="content">
							 | 
						|
								                <f:view>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								                    <h:form>
							 | 
						|
								                        <h1><h:outputText value="Eliminar producto"/></h1>
							 | 
						|
								                        <p:panelGrid columns="2">
							 | 
						|
								                            <h:outputText value="Nombre:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.nombre}" title="Nombre"/>
							 | 
						|
								                            <h:outputText value="Codigo:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.codigo}" title="Codigo"/>
							 | 
						|
								                            <h:outputText value="Precio:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.precio}" title="Precio"/>
							 | 
						|
								                            <h:outputText value="Piezas:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.piezas}" title="Piezas"/>
							 | 
						|
								                            <h:outputText value="Estado:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.estado == 2 ? 'Activo':'Inactivo'}" title="Estado"/>
							 | 
						|
								                            <h:outputText value="Marca:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.marcaIdmarca.nombre}" title="MarcaIdmarca"/>
							 | 
						|
								                            <h:outputText value="Proveedor:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.proveedorIdproveedor.nombre}" title="ProveedorIdproveedor"/>
							 | 
						|
								                            <h:outputText value="Ubicacion:"/>
							 | 
						|
								                            <h:outputText value="#{demoBeanProducto.producto.ubicacionId.bloque}#{demoBeanProducto.producto.ubicacionId.anaquel}" title="UbicacionId"/>
							 | 
						|
								                        </p:panelGrid>
							 | 
						|
								
							 | 
						|
								                        <p:commandButton action="productoLista.xhtml" 
							 | 
						|
								                                         actionListener="#{demoBeanProducto.eliminarProducto()}" 
							 | 
						|
								                                         ajax="false" 
							 | 
						|
								                                         icon="pi pi-trash" 
							 | 
						|
								                                         styleClass="ui-button-warning" 
							 | 
						|
								                                         style="margin-top: 5px; width: 50px;"/>
							 | 
						|
								
							 | 
						|
								                        <p:commandButton action="productoLista.xhtml" 
							 | 
						|
								                                         immediate="true" 
							 | 
						|
								                                         ajax="false" 
							 | 
						|
								                                         style="margin-top: 5px; margin-left: 5px; width: 50px; " 
							 | 
						|
								                                         icon="pi pi-times" 
							 | 
						|
								                                         styleClass="ui-button-danger"/>
							 | 
						|
								
							 | 
						|
								                    </h:form>
							 | 
						|
								                </f:view>
							 | 
						|
								
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								        </ui:composition>
							 | 
						|
								
							 | 
						|
								    </body>
							 | 
						|
								</html>
							 | 
						|
								
							 |