<?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"/></h1> <p:panelGrid columns="2"> <h:outputText value="Id:"/> <h:outputText value="#{demoBeanUbicacion.ubi.id}" title="Id"/> <h:outputText value="Bloque:"/> <h:outputText value="#{demoBeanUbicacion.ubi.bloque}" title="Bloque"/> <h:outputText value="Anaquel:"/> <h:outputText value="#{demoBeanUbicacion.ubi.anaquel}" title="Anaquel"/> <h:outputText value="Estado:"/> <h:outputText value="#{demoBeanUbicacion.ubi.estado}" title="Estado"/> </p:panelGrid> <p:commandButton action="ubicacionLista.xhtml" actionListener="#{demoBeanUbicacion.eliminarUbicacion()}" icon="pi pi-trash" style=" width: 50px; " styleClass="ui-button-warning" ajax="false"/> <p:commandButton action="ubicacionLista.xhtml" icon="pi pi-times" styleClass="ui-button-danger" style="margin-left: 5px; width: 50px;" immediate="true" ajax="false"/> </h:form> </f:view> </ui:define> </ui:composition> </body> </html>