|
|
@ -34,11 +34,6 @@ |
|
|
|
<p:menuitem value="Usuarios" action="usuariosLista.xhtml" ajax="false"/> |
|
|
|
|
|
|
|
<p:submenu label="Opciones" icon="pi pi-fw pi-list"> |
|
|
|
<p:menuitem value="Roles" |
|
|
|
icon="pi pi-fw pi-users" |
|
|
|
oncomplete="PF('rol').show()" |
|
|
|
update=":rolD" |
|
|
|
actionListener="#{demoBeanRoles.prepararNuevo()}"/> |
|
|
|
|
|
|
|
<p:menuitem value="Paises" |
|
|
|
icon="pi pi-globe" |
|
|
@ -88,10 +83,6 @@ |
|
|
|
|
|
|
|
<h:form id="productoTable"> |
|
|
|
|
|
|
|
<p:commandButton value="PDF" styleClass="mr-2 mb-2"> |
|
|
|
<p:dataExporter type="pdf" target="table" fileName="products"/> |
|
|
|
</p:commandButton> |
|
|
|
|
|
|
|
<p:growl id="messages" showDetail="true"/> |
|
|
|
|
|
|
|
<!-- Por aqui checa en el datatable y el facet --> |
|
|
@ -302,7 +293,10 @@ |
|
|
|
value="#{demoBeanProducto.producto.proveedorIdproveedor}" |
|
|
|
converter="selectOneMenuConverter" |
|
|
|
required="true" |
|
|
|
requiredMessage="Se necesita un proveedor" > |
|
|
|
requiredMessage="Se necesita un proveedor" |
|
|
|
|
|
|
|
filter="true" |
|
|
|
filterMatchMode="startsWith"> |
|
|
|
<!-- TODO: update below reference to list of available items--> |
|
|
|
<f:selectItems value="#{demoBeanProveedor.proveedores}" |
|
|
|
var="item" |
|
|
@ -317,7 +311,10 @@ |
|
|
|
value="#{demoBeanProducto.producto.ubicacionId}" |
|
|
|
converter="selectOneMenuConverter" |
|
|
|
required="true" |
|
|
|
requiredMessage="Se necesita una ubicacion"> |
|
|
|
requiredMessage="Se necesita una ubicacion" |
|
|
|
|
|
|
|
filter="true" |
|
|
|
filterMatchMode="startsWith"> |
|
|
|
<!-- TODO: update below reference to list of available items--> |
|
|
|
<f:selectItems value="#{demoBeanUbicacion.ubicacion}" |
|
|
|
var="item" |
|
|
@ -339,7 +336,10 @@ |
|
|
|
value="#{demoBeanProducto.producto.tipoId}" |
|
|
|
converter="selectOneMenuConverter" |
|
|
|
required="true" |
|
|
|
requiredMessage="Se necesita un tipo"> |
|
|
|
requiredMessage="Se necesita un tipo" |
|
|
|
|
|
|
|
filter="true" |
|
|
|
filterMatchMode="startsWith"> |
|
|
|
TODO: update below reference to list of available items |
|
|
|
<f:selectItems value="#{demoBeanTipo.tipos}" |
|
|
|
var="item" |
|
|
|