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.
		
		
		
		
			
				
					64 lines
				
				2.8 KiB
			
		
		
			
		
	
	
					64 lines
				
				2.8 KiB
			| 
								 
											2 years ago
										 
									 | 
							
								<?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">
							 | 
						||
| 
								 | 
							
								                
							 | 
						||
| 
								 | 
							
								            </ui:define>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <ui:define name="left">
							 | 
						||
| 
								 | 
							
								                
							 | 
						||
| 
								 | 
							
								            </ui:define>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <ui:define name="right">
							 | 
						||
| 
								 | 
							
								                
							 | 
						||
| 
								 | 
							
								            </ui:define>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <ui:define name="content">
							 | 
						||
| 
								 | 
							
								                <f:view>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    <h:form>
							 | 
						||
| 
								 | 
							
								                        <h1><h:outputText value="Eliminar"/></h1>
							 | 
						||
| 
								 | 
							
								                        <p:panelGrid columns="2">
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="Id:"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="#{demoBeanUsuarios.usuario.id}" title="Id"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="Nombre:"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="#{demoBeanUsuarios.usuario.nombre}" title="Nombre"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="ApellidoPaterno:"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="#{demoBeanUsuarios.usuario.apellidoPaterno}" title="ApellidoPaterno"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="Email:"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="#{demoBeanUsuarios.usuario.email}" title="Email"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="Telefono:"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="#{demoBeanUsuarios.usuario.telefono}" title="Telefono"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="Estado:"/>
							 | 
						||
| 
								 | 
							
								                            <h:outputText value="#{demoBeanUsuarios.usuario.estado == 2 ? 'Activo':'Inactivo'}" title="Estado"/>
							 | 
						||
| 
								 | 
							
								                        </p:panelGrid>
							 | 
						||
| 
								 | 
							
								                        <p:commandButton action="usuariosLista.xhtml" actionListener="#{demoBeanUsuarios.eliminarUsuario()}" ajax="false"
							 | 
						||
| 
								 | 
							
								                                         icon="pi pi-trash"
							 | 
						||
| 
								 | 
							
								                                         styleClass="ui-button-warning"
							 | 
						||
| 
								 | 
							
								                                         style=" width: 50px; "
							 | 
						||
| 
								 | 
							
								                                         />
							 | 
						||
| 
								 | 
							
								                        <p:commandButton action="usuariosLista.xhtml"  immediate="true" ajax="false"
							 | 
						||
| 
								 | 
							
								                                         icon="pi pi-times"
							 | 
						||
| 
								 | 
							
								                                         styleClass="ui-button-danger"
							 | 
						||
| 
								 | 
							
								                                         style="margin-left: 5px; width: 50px;"
							 | 
						||
| 
								 | 
							
								                                         />
							 | 
						||
| 
								 | 
							
								                    </h:form>
							 | 
						||
| 
								 | 
							
								                </f:view>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            </ui:define>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        </ui:composition>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    </body>
							 | 
						||
| 
								 | 
							
								</html>
							 |