|
@ -23,7 +23,7 @@ |
|
|
|
|
|
|
|
|
<f:metadata> |
|
|
<f:metadata> |
|
|
<f:viewParam name="rol" value="#{demoBeanLogin.rol}" /> |
|
|
<f:viewParam name="rol" value="#{demoBeanLogin.rol}" /> |
|
|
<f:event type="preRenderView" listener="#{demoBeanLogin.verificarAcceso('admin,almacenista')}" /> |
|
|
<f:event type="preRenderView" listener="#{demoBeanLogin.verificarAcceso('admin,almacenista,auxiliar', 'productoLista')}" /> |
|
|
</f:metadata> |
|
|
</f:metadata> |
|
|
<div> |
|
|
<div> |
|
|
<h:form> |
|
|
<h:form> |
|
@ -43,19 +43,22 @@ |
|
|
icon="pi pi-globe" |
|
|
icon="pi pi-globe" |
|
|
oncomplete="PF('pais').show()" |
|
|
oncomplete="PF('pais').show()" |
|
|
update="paisDialog" |
|
|
update="paisDialog" |
|
|
actionListener="#{demoBeanPaises.prepararNuevo()}"/> |
|
|
actionListener="#{demoBeanPaises.prepararNuevo()}" |
|
|
|
|
|
rendered="#{demoBeanLogin.agregaciones == true}"/> |
|
|
|
|
|
|
|
|
<p:menuitem value="Estados" |
|
|
<p:menuitem value="Estados" |
|
|
icon="pi pi-map" |
|
|
icon="pi pi-map" |
|
|
oncomplete="PF('estado').show()" |
|
|
oncomplete="PF('estado').show()" |
|
|
update="estadosDialog" |
|
|
update="estadosDialog" |
|
|
actionListener="#{demoBeanEstados.prepararNuevo()}"/> |
|
|
actionListener="#{demoBeanEstados.prepararNuevo()}" |
|
|
|
|
|
rendered="#{demoBeanLogin.agregaciones == true}"/> |
|
|
|
|
|
|
|
|
<p:menuitem value="Tipos" |
|
|
<p:menuitem value="Tipos" |
|
|
icon="pi pi-tags" |
|
|
icon="pi pi-tags" |
|
|
oncomplete="PF('tipo').show()" |
|
|
oncomplete="PF('tipo').show()" |
|
|
update=":tip" |
|
|
update=":tip" |
|
|
actionListener="#{demoBeanTipo.prepararNuevo()}"/> |
|
|
actionListener="#{demoBeanTipo.prepararNuevo()}" |
|
|
|
|
|
rendered="#{demoBeanLogin.agregaciones == true}"/> |
|
|
<!-- <p:divider />--> |
|
|
<!-- <p:divider />--> |
|
|
</p:submenu> |
|
|
</p:submenu> |
|
|
|
|
|
|
|
|