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.
		
		
		
		
		
			
		
			
				
					
					
						
							63 lines
						
					
					
						
							3.8 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							63 lines
						
					
					
						
							3.8 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">
							 | 
						|
								                  <center><h2>C A T E G O R I A S</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="right">
							 | 
						|
								                
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								            <ui:define name="content">
							 | 
						|
								                <f:view>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								                    <h:form style="height: 600px;">
							 | 
						|
								                        
							 | 
						|
								                        <h1><h:outputText value="Eliminar Categoria"  style="left:806px;"/></h1>
							 | 
						|
								                        
							 | 
						|
								                        <p:panelGrid columns="2" style="width: 100%">
							 | 
						|
								                            <h:outputText value="Id:" style="font-weight:bolder; "/>
							 | 
						|
								                            <h:outputText value="#{demoBeanCategoria.categoria.id}" title="Id" style="width: 350px; height: 150px; margin-right: 1000px;"/>
							 | 
						|
								                            <h:outputText value="Nombre:" style="font-weight:bolder" />
							 | 
						|
								                            <h:outputText value="#{demoBeanCategoria.categoria.nombre}" title="Nombre" style="width: 350px; height: 150px; margin-right: 10px;"/>
							 | 
						|
								                            <h:outputText value="Status:" style="font-weight:bolder" />
							 | 
						|
								                            <h:outputText value="#{demoBeanCategoria.categoria.status==1?'Activo':'Inactivo'}" title="Status" style="width: 350px; height: 150px; margin-right: 10px;"/>
							 | 
						|
								                        </p:panelGrid>
							 | 
						|
								                         <div>
							 | 
						|
								                             <p:commandButton action="categoriaLista.xhtml" actionListener="#{demoBeanCategoria.eliminarcategoria()}"  ajax="false"  icon="pi pi-check" style="margin-right: 10px; margin-top: 10px; background-color: green; color:white; border-color:green;" />
							 | 
						|
								                            <p:commandButton action="categoriaLista.xhtml" immediate="true" ajax="false" icon="pi pi-times"  style="background-color: red; color:white; border-color: red;"/>
							 | 
						|
								                        </div>
							 | 
						|
								                    </h:form>
							 | 
						|
								                </f:view>
							 | 
						|
								
							 | 
						|
								            </ui:define>
							 | 
						|
								
							 | 
						|
								        </ui:composition>
							 | 
						|
								
							 | 
						|
								    </body>
							 | 
						|
								</html>
							 | 
						|
								
							 |