From 28767708f3a8778dec79685c6e63023c845f22b1 Mon Sep 17 00:00:00 2001 From: oscar Date: Tue, 14 May 2024 08:01:29 -0600 Subject: [PATCH] ya --- ProyectoInventario-war/web/proveedorLista.xhtml | 11 +++++++---- ProyectoInventario-war/web/ubicacionLista.xhtml | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ProyectoInventario-war/web/proveedorLista.xhtml b/ProyectoInventario-war/web/proveedorLista.xhtml index 74732fe..5bd2c03 100644 --- a/ProyectoInventario-war/web/proveedorLista.xhtml +++ b/ProyectoInventario-war/web/proveedorLista.xhtml @@ -23,7 +23,7 @@ - +
@@ -43,19 +43,22 @@ icon="pi pi-globe" oncomplete="PF('pais').show()" update="paisDialog" - actionListener="#{demoBeanPaises.prepararNuevo()}"/> + actionListener="#{demoBeanPaises.prepararNuevo()}" + rendered="#{demoBeanLogin.agregaciones == true}"/> + actionListener="#{demoBeanEstados.prepararNuevo()}" + rendered="#{demoBeanLogin.agregaciones == true}"/> + actionListener="#{demoBeanTipo.prepararNuevo()}" + rendered="#{demoBeanLogin.agregaciones == true}"/> diff --git a/ProyectoInventario-war/web/ubicacionLista.xhtml b/ProyectoInventario-war/web/ubicacionLista.xhtml index 78e21e3..28d72c8 100644 --- a/ProyectoInventario-war/web/ubicacionLista.xhtml +++ b/ProyectoInventario-war/web/ubicacionLista.xhtml @@ -19,7 +19,7 @@ - +
@@ -40,19 +40,22 @@ icon="pi pi-globe" oncomplete="PF('pais').show()" update="paisDialog" - actionListener="#{demoBeanPaises.prepararNuevo()}"/> + actionListener="#{demoBeanPaises.prepararNuevo()}" + rendered="#{demoBeanLogin.agregaciones == true}"/> + actionListener="#{demoBeanEstados.prepararNuevo()}" + rendered="#{demoBeanLogin.agregaciones == true}"/> + actionListener="#{demoBeanTipo.prepararNuevo()}" + rendered="#{demoBeanLogin.agregaciones == true}"/>