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.
50 lines
2.1 KiB
50 lines
2.1 KiB
7 months 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/ejemploJazmin.xhtml">
|
||
|
|
||
|
<ui:define name="top">
|
||
|
top
|
||
|
</ui:define>
|
||
|
|
||
|
<ui:define name="left">
|
||
|
left
|
||
|
</ui:define>
|
||
|
|
||
|
<ui:define name="content">
|
||
|
<f:view>
|
||
|
|
||
|
|
||
|
<h:form>
|
||
|
<h1><h:outputText value="View"/></h1>
|
||
|
<p:panelGrid columns="2">
|
||
|
<h:outputText value="IdProovedor:"/>
|
||
|
<h:outputText value="#{proovedoresBean.prove.idProovedor}" title="IdProovedor"/>
|
||
|
<h:outputText value="Proovedor:"/>
|
||
|
<h:outputText value="#{proovedoresBean.prove.proovedor}" title="Proovedor"/>
|
||
|
<h:outputText value="Telefono:"/>
|
||
|
<h:outputText value="#{proovedoresBean.prove.telefono}" title="Telefono"/>
|
||
|
<h:outputText value="Direccion:"/>
|
||
|
<h:outputText value="#{proovedoresBean.prove.direccion}" title="Direccion"/>
|
||
|
<h:outputText value="Status:"/>
|
||
|
<h:outputText value="#{proovedoresBean.prove.status==1?'Activo':'Inactivo'}" title="Status"/>
|
||
|
</p:panelGrid>
|
||
|
<p:commandButton action ="proveedoresLista.xhtml" actionListener="#{proovedoresBean.eliminaProovedor()}" value="Eliminar"/>
|
||
|
<p:commandButton action ="marcaLista.xhtml" value="Cancelar"/>
|
||
|
</h:form>
|
||
|
</f:view>
|
||
|
|
||
|
content
|
||
|
</ui:define>
|
||
|
|
||
|
</ui:composition>
|
||
|
|
||
|
</body>
|
||
|
</html>
|