@ -52,7 +52,7 @@
< p:inputText id = "globalFilter" onkeyup = "PF('usuarios').filter()" placeholder = "Buscar usuario"
< p:inputText id = "globalFilter" onkeyup = "PF('usuarios').filter()" placeholder = "Buscar usuario"
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
style="width:250px; margin-right: 120px; float: right; margin-top: -1px;" />
< p:commandButton value = "Logout" ajax = "false" icon = "pi pi-sign-out" action = "#{l ogin.logout()}" style = "background-color: #036FAB; width: 100px; float: right; margin-top: -40px " / >
< p:commandButton value = "Logout" ajax = "false" icon = "pi pi-sign-out" action = "#{demoBeanL ogin.logout()}" style = "background-color: #036FAB; width: 100px; float: right; margin-top: -40px " / >
< / div >
< / div >
< / div >
< / div >
@ -60,50 +60,50 @@
< p:column styleClass = "columnaId2" >
< p:column styleClass = "columnaId2" >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Id" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Id" style = "font-weight: bolder; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.id}" / >
< h:outputText value = "#{item.id}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Nombre" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Nombre" style = "font-weight:bolder; right: 20px;; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.nombre}" / >
< h:outputText value = "#{item.nombre}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Primer Apellidos" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Primer Apellidos" style = "font-weight:bolder; right: 20px; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.apellidop}" / >
< h:outputText value = "#{item.apellidop}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "s egundo Apellido" style = " font-weight:bolder; float: left " / >
< h:outputText value = "S egundo Apellido" style = "font-weight:bolder; right: 20px; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.apellidom}" / >
< h:outputText value = "#{item.apellidom}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Usuario" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Usuario" style = "font-weight:bolder; right: 20px; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.usuario}" / >
< h:outputText value = "#{item.usuario}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Correo" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Correo" style = "font-weight:bolder; right: 20px; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.correo}" / >
< h:outputText value = "#{item.correo}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Telefono" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Telefono" style = "font-weight:bolder; right: 20px; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.telefono}" / >
< h:outputText value = "#{item.telefono}" / >
< / p:column >
< / p:column >
< p:column >
< p:column >
< f:facet name = "header" >
< f:facet name = "header" >
< h:outputText value = "Rol" style = " font-weight:bolder; float: left " / >
< h:outputText value = "Rol" style = "font-weight:bolder; right: 20px; " / >
< / f:facet >
< / f:facet >
< h:outputText value = "#{item.rolId.rol}" / >
< h:outputText value = "#{item.rolId.rol}" / >
< / p:column >
< / p:column >
@ -128,15 +128,15 @@
< / h:form >
< / h:form >
<!-- crear/editar''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
<!-- crear/editar''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
< p:dialog id = "dialog" widgetVar = "dlg" width = "800" height = "5 00" modal = "true" appendTo = "@(body)" >
< p:dialog id = "dialog" widgetVar = "dlg" width = "900" height = "7 00" modal = "true" appendTo = "@(body)" >
< h:form style = "height: 600px; " class = "form-container" >
< h:form >
< p:growl id = "growl" for = "usuariosMsj" showDetail = "true" / >
< p:growl id = "growl" for = "usuariosMsj" showDetail = "true" / >
< h1 style = "text-align: center; background-color: #036FAB; padding: 20px; color: #FFFFFF; font-size: 2em; margin-bottom: 10px;" >
< h3 style = "text-align: center; background-color: #036FAB; padding: 20px; color: #FFFFFF; margin-bottom: 10px;" >
< h:outputText value = "#{demoBeanUsuarios.titulo}" / > < / h1 >
< h:outputText value = "#{demoBeanUsuarios.titulo}" / > < / h3 >
< h:panelGrid id = "grid" columns = "3 " style = "width: 100%" >
< h:panelGrid id = "grid" columns = "6 " style = "width: 100%" >
< p:outputLabel style = "font-weight:bolder" value = "Nombre:" for = "nombre" / >
< p:outputLabel style = "font-weight:bolder" value = "Nombre:" for = "nombre" / >
< p:inputText id = "nombre" value = "#{demoBeanUsuarios.usuarios.nombre}" title = "Nombre" required = "true" requiredMessage = "campo obligatorio" validatorMessage = " el numbre debe enpesar con mayuscula " >
< p:inputText id = "nombre" value = "#{demoBeanUsuarios.usuarios.nombre}" title = "Nombre" required = "true" requiredMessage = "campo obligatorio" validatorMessage = " el numbre debe enpesar con mayuscula " >
@ -163,7 +163,7 @@
< / p:inputText >
< / p:inputText >
< p:messages for = "genero" / >
< p:messages for = "genero" / >
< p:outputLabel style = "font-weight:bolder" value = "Fechanacimiento:" for = "fechanacimiento" / >
< p:outputLabel style = "font-weight:bolder" value = "Fecha de nacimiento:" for = "fechanacimiento" / >
< p:inputText id = "fechanacimiento" value = "#{demoBeanUsuarios.usuarios.fechanacimiento}" title = "Fechanacimiento" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "La fecha tine que ir como yyyy/mm/dd" >
< p:inputText id = "fechanacimiento" value = "#{demoBeanUsuarios.usuarios.fechanacimiento}" title = "Fechanacimiento" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "La fecha tine que ir como yyyy/mm/dd" >
< f:convertDateTime pattern = "MM/dd/yyyy" / >
< f:convertDateTime pattern = "MM/dd/yyyy" / >
< / p:inputText >
< / p:inputText >
@ -171,12 +171,12 @@
< p:outputLabel style = "font-weight:bolder" value = "Usuario:" for = "usuario" / >
< p:outputLabel style = "font-weight:bolder" value = "Usuario:" for = "usuario" / >
< p:inputText id = "usuario" value = "#{demoBeanUsuarios.usuarios.usuario}" title = "Usuario" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el usuario requiere la primera letra mayuscula y porlomenos 5 caracteres" >
< p:inputText id = "usuario" value = "#{demoBeanUsuarios.usuarios.usuario}" title = "Usuario" required = "true" requiredMessage = "campo obligatorio" >
< f:validateRegex pattern = "^[A-Z][a-z]{4,9}$" for = "usuario" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "usuario" / >
< p:messages for = "usuario" / >
< p:outputLabel style = "font-weight:bolder" value = "Contraseni a:" for = "contrasenia" / >
< p:outputLabel style = "font-weight:bolder" value = "Contraseñ a:" for = "contrasenia" / >
< p:inputText id = "contrasenia" value = "#{demoBeanUsuarios.usuarios.contrasenia}" title = "Contrasenia" required = "true" requiredMessage = "campo obligatorio" validatorMessage = " la contraseña requiere 8 caracteres entre letras y numeros" >
< p:inputText id = "contrasenia" value = "#{demoBeanUsuarios.usuarios.contrasenia}" title = "Contrasenia" required = "true" requiredMessage = "campo obligatorio" validatorMessage = " la contraseña requiere 8 caracteres entre letras y numeros" >
< f:validateRegex pattern = "^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]{8}$" for = "contrasenia" / >
< f:validateRegex pattern = "^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]{8}$" for = "contrasenia" / >
< / p:inputText >
< / p:inputText >
@ -184,7 +184,7 @@
< p:outputLabel style = "font-weight:bolder" value = "Correo:" for = "correo" / >
< p:outputLabel style = "font-weight:bolder" value = "Correo:" for = "correo" / >
< p:inputText id = "correo" value = "#{demoBeanUsuarios.usuarios.correo}" title = "Correo" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el correo es incorecto o no cumple con el formato requerid" >
< p:inputText id = "correo" value = "#{demoBeanUsuarios.usuarios.correo}" title = "Correo" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el correo es incorecto o no cumple con el formato requerid" >
< f:validateRegex pattern = "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$" for = "correo" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "correo" / >
< p:messages for = "correo" / >
@ -195,32 +195,32 @@
< p:messages for = "telefono" / >
< p:messages for = "telefono" / >
< p:outputLabel style = "font-weight:bolder" value = "Pais:" for = "pais" / >
< p:outputLabel style = "font-weight:bolder" value = "Pais:" for = "pais" / >
< p:inputText id = "pais" value = "#{demoBeanUsuarios.usuarios.pais}" title = "Pais" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el pais debe empezar con mayuscula" >
< p:inputText id = "pais" value = "#{demoBeanUsuarios.usuarios.pais}" title = "Pais" required = "true" requiredMessage = "campo obligatorio" >
< f:validateRegex pattern = "^[A-Z][a-z]{4,19}$" for = "pais" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "pais" / >
< p:messages for = "pais" / >
< p:outputLabel style = "font-weight:bolder" value = "Estado:" for = "estado" / >
< p:outputLabel style = "font-weight:bolder" value = "Estado:" for = "estado" / >
< p:inputText id = "estado" value = "#{demoBeanUsuarios.usuarios.estado}" title = "Estado" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el estado debe empezar con mayuscula" >
< p:inputText id = "estado" value = "#{demoBeanUsuarios.usuarios.estado}" title = "Estado" required = "true" requiredMessage = "campo obligatorio" >
< f:validateRegex pattern = "^[A-Z][a-z]{4,19}$" for = "estado" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "estado" / >
< p:messages for = "estado" / >
< p:outputLabel style = "font-weight:bolder" value = "Municipio:" for = "municipio" / >
< p:outputLabel style = "font-weight:bolder" value = "Municipio:" for = "municipio" / >
< p:inputText id = "municipio" value = "#{demoBeanUsuarios.usuarios.municipio}" title = "Municipio" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el municipio debe empezar con mayuscula" >
< p:inputText id = "municipio" value = "#{demoBeanUsuarios.usuarios.municipio}" title = "Municipio" required = "true" requiredMessage = "campo obligatorio" >
< f:validateRegex pattern = "^[A-Z][a-z]{4,19}$" for = "municipio" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "municipio" / >
< p:messages for = "municipio" / >
< p:outputLabel style = "font-weight:bolder" value = "Localidad:" for = "localidad" / >
< p:outputLabel style = "font-weight:bolder" value = "Localidad:" for = "localidad" / >
< p:inputText id = "localidad" value = "#{demoBeanUsuarios.usuarios.localidad}" title = "Localidad" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "la localidad debe empezar con mayuscula" >
< p:inputText id = "localidad" value = "#{demoBeanUsuarios.usuarios.localidad}" title = "Localidad" required = "true" requiredMessage = "campo obligatorio" >
< f:validateRegex pattern = "^[A-Z][a-z]{4,19}$" for = "localidad" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "localidad" / >
< p:messages for = "localidad" / >
< p:outputLabel style = "font-weight:bolder" value = "Calle:" for = "calle" / >
< p:outputLabel style = "font-weight:bolder" value = "Calle:" for = "calle" / >
< p:inputText id = "calle" value = "#{demoBeanUsuarios.usuarios.calle}" title = "Calle" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "la calle debe empezar con mayuscula" >
< p:inputText id = "calle" value = "#{demoBeanUsuarios.usuarios.calle}" title = "Calle" required = "true" requiredMessage = "campo obligatorio" >
< f:validateRegex pattern = "^[A-Z][a-z]{4,19}$" for = "calle" / >
< / p:inputText >
< / p:inputText >
< p:messages for = "calle" / >
< p:messages for = "calle" / >
@ -230,7 +230,7 @@
< / p:inputText >
< / p:inputText >
< p:messages for = "numero" / >
< p:messages for = "numero" / >
< p:outputLabel style = "font-weight:bolder" value = "Codigo Postal :" for = "cp" / >
< p:outputLabel style = "font-weight:bolder" value = "CP:" for = "cp" / >
< p:inputText id = "cp" value = "#{demoBeanUsuarios.usuarios.cp}" title = "Cp" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el codigo posta es incorrecto revisaelo" >
< p:inputText id = "cp" value = "#{demoBeanUsuarios.usuarios.cp}" title = "Cp" required = "true" requiredMessage = "campo obligatorio" validatorMessage = "el codigo posta es incorrecto revisaelo" >
< f:validateRegex pattern = "^[0-9]{4}$" for = "cp" / >
< f:validateRegex pattern = "^[0-9]{4}$" for = "cp" / >
< / p:inputText >
< / p:inputText >
@ -246,32 +246,29 @@
< / h:panelGrid >
< / h:panelGrid >
< p:commandButton action = "usuariosLista.xhtml" ajax = "false" icon = "pi pi-times"
< p:commandButton action = "usuariosLista.xhtml" ajax = "false" icon = "pi pi-times" immediate = "true" update = "grid, formtabla:tabla, growl"
immediate="true" update="grid, formtabla:tabla, growl"
style="background-color: red; border-color:red; float: right;"/>
style="background-color: red; border-color:red; float: right;"/>
< p:commandButton action = "#{demoBeanUsuarios.agregar()}" update = "grid, formtabla:tabla, growl" ajax = "true"
< p:commandButton actionListener = "#{demoBeanUsuarios.agregar()}" update = "grid, formtabla:tabla, growl"
rendered="#{demoBeanUsuarios.nuevo}" icon="pi pi-check"
ajax="true" rendered="#{demoBeanUsuarios.nuevo}" icon="pi pi-check"
style="margin-right: 10px; background-color:green; border-color:green; float: right; " />
style="margin-right: 10px; background-color:green; border-color:green; float: right; " />
< p:commandButton actionListener = "#{demoBeanUsuarios.editar()}" update = "grid, formtabla:tabla, growl"
< p:commandButton action = "#{demoBeanUsuarios.editar()}"
ajax="true" rendered="#{!demoBeanUsuarios.nuevo}" icon="pi pi-check"
update="grid, formtabla:tabla, growl" ajax="true" rendered="#{!demoBeanUsuarios.nuevo}" icon="pi pi-check"
style="margin-right: 10px; background-color:green; border-color:green; float: right;" />
style="margin-right: 10px; background-color:green; border-color:green; float: right;" />
< / h:form >
< / h:form >
< / p:dialog >
< / p:dialog >
<!-- eliminiar''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
<!-- eliminiar''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
< p:dialog id = "dialog2" widgetVar = "dlg2" width = "800" height = "5 00" modal = "true" >
< p:dialog id = "dialog2" widgetVar = "dlg2" width = "900" height = "7 00" modal = "true" >
< h:form >
< h:form >
< h1 style = "text-align: center; background-color: #036FAB; padding: 20px; color: #FFFFFF; font-size: 2em; margin-bottom: 10px;" >
< h3 style = "text-align: center; background-color: #036FAB; padding: 20px; color: #FFFFFF; margin-bottom: 10px;" >
< h:outputText value = "Eliminar " / > < / h1 >
< h:outputText value = "E L I M I N A R " / > < / h3 >
< div >
< div >
< h:panelGrid id = "grid" columns = "4" style = "width: 100%" cellpadding = "2 0" >
< h:panelGrid id = "grid" columns = "4" style = "width: 100%" cellpadding = "1 0" >
< h:outputText value = "Id:" style = " font-weight:bolder" / >
< h:outputText value = "Id:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.id}" title = "Id" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.id}" title = "Id" / >
@ -283,13 +280,13 @@
< h:outputText value = "#{demoBeanUsuarios.usuarios.apellidom}" title = "Apellidom" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.apellidom}" title = "Apellidom" / >
< h:outputText value = "Genero:" style = " font-weight:bolder" / >
< h:outputText value = "Genero:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.genero}" title = "Genero" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.genero}" title = "Genero" / >
< h:outputText value = "Fechanacimiento:" style = " font-weight:bolder" / >
< h:outputText value = "Fecha de nacimiento:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.fechanacimiento}" title = "Fechanacimiento" >
< h:outputText value = "#{demoBeanUsuarios.usuarios.fechanacimiento}" title = "Fechanacimiento" >
< f:convertDateTime pattern = "MM/dd/yyyy" / >
< f:convertDateTime pattern = "MM/dd/yyyy" / >
< / h:outputText >
< / h:outputText >
< h:outputText value = "Usuario:" style = " font-weight:bolder" / >
< h:outputText value = "Usuario:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.usuario}" title = "Usuario" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.usuario}" title = "Usuario" / >
< h:outputText value = "Contraseni a:" style = " font-weight:bolder" / >
< h:outputText value = "Contraseñ a:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.contrasenia}" title = "Contrasenia" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.contrasenia}" title = "Contrasenia" / >
< h:outputText value = "Correo:" style = " font-weight:bolder" / >
< h:outputText value = "Correo:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.correo}" title = "Correo" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.correo}" title = "Correo" / >
@ -307,19 +304,19 @@
< h:outputText value = "#{demoBeanUsuarios.usuarios.calle}" title = "Calle" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.calle}" title = "Calle" / >
< h:outputText value = "Numero:" style = " font-weight:bolder" / >
< h:outputText value = "Numero:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.numero}" title = "Numero" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.numero}" title = "Numero" / >
< h:outputText value = "Codigo Postal :" style = " font-weight:bolder" / >
< h:outputText value = "CP:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.cp}" title = "Cp" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.cp}" title = "Cp" / >
< h:outputText value = "Rol:" style = " font-weight:bolder" / >
< h:outputText value = "Rol:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.rolId.rol}" title = "RolId" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.rolId.rol}" title = "RolId" / >
< / h:panelGrid >
< / h:panelGrid >
< / div >
< / div >
< div style = "margin-top: 20px;" >
< div style = "margin-top: 20px;" >
< p:commandButton action = "usuariosLista.xhtml" immediate = "true " ajax = "false" icon = "pi pi-times"
< p:commandButton action = "usuariosLista.xhtml" icon = "pi pi-times " ajax = "false" immediate = "true"
style="margin-left: 10px; background-color:red; border-color:red; float: right;" />
style="margin-left: 10px; background-color:red; border-color:red; float: right;" />
< p:commandButton action = "usuariosLista.xhtml" actionListener = "#{demoBeanUsuarios.eliminar()}"
< p:commandButton action = "usuariosLista.xhtml" actionListener = "#{demoBeanUsuarios.eliminar()}"
ajax="false" icon="pi pi-check"
ajax="false" icon="pi pi-check"
style=" background-color:green; border-color:green; float: right;"/>
style=" background-color:green; border-color:green; float: right;"/>
< / div >
< / div >
< / h:form >
< / h:form >
@ -327,13 +324,13 @@
<!-- info''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
<!-- info''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
< p:dialog id = "dialog3" widgetVar = "dlg3" width = "800" height = "5 00" modal = "true" >
< p:dialog id = "dialog3" widgetVar = "dlg3" width = "900" height = "7 00" modal = "true" >
< h:form >
< h:form >
< h1 style = "text-align: center; background-color: #036FAB; padding: 20px; color: #FFFFFF; font-size: 2em; margin-bottom: 10px;" >
< h3 style = "text-align: center; background-color: #036FAB; padding: 20px; color: #FFFFFF; margin-bottom: 10px;" >
< h:outputText value = "Detalles " / > < / h1 >
< h:outputText value = "D E T A L L E S " / > < / h3 >
< div >
< div >
< h:panelGrid id = "grid" columns = "4" style = "width: 100%" cellpadding = "2 0" >
< h:panelGrid id = "grid" columns = "4" style = "width: 100%" cellpadding = "1 0" >
< h:outputText value = "Id:" style = " font-weight:bolder" / >
< h:outputText value = "Id:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.id}" title = "Id" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.id}" title = "Id" / >
@ -345,13 +342,13 @@
< h:outputText value = "#{demoBeanUsuarios.usuarios.apellidom}" title = "Apellidom" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.apellidom}" title = "Apellidom" / >
< h:outputText value = "Genero:" style = " font-weight:bolder" / >
< h:outputText value = "Genero:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.genero}" title = "Genero" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.genero}" title = "Genero" / >
< h:outputText value = "Fechanacimiento:" style = " font-weight:bolder" / >
< h:outputText value = "Fecha de nacimiento:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.fechanacimiento}" title = "Fechanacimiento" >
< h:outputText value = "#{demoBeanUsuarios.usuarios.fechanacimiento}" title = "Fechanacimiento" >
< f:convertDateTime pattern = "MM/dd/yyyy" / >
< f:convertDateTime pattern = "MM/dd/yyyy" / >
< / h:outputText >
< / h:outputText >
< h:outputText value = "Usuario:" style = " font-weight:bolder" / >
< h:outputText value = "Usuario:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.usuario}" title = "Usuario" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.usuario}" title = "Usuario" / >
< h:outputText value = "Contraseni a:" style = " font-weight:bolder" / >
< h:outputText value = "Contraseñ a:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.contrasenia}" title = "Contrasenia" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.contrasenia}" title = "Contrasenia" / >
< h:outputText value = "Correo:" style = " font-weight:bolder" / >
< h:outputText value = "Correo:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.correo}" title = "Correo" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.correo}" title = "Correo" / >
@ -371,13 +368,11 @@
< h:outputText value = "#{demoBeanUsuarios.usuarios.numero}" title = "Numero" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.numero}" title = "Numero" / >
< h:outputText value = "Cp:" style = " font-weight:bolder" / >
< h:outputText value = "Cp:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.cp}" title = "Cp" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.cp}" title = "Cp" / >
< h:outputText value = "RolId :" style = " font-weight:bolder" / >
< h:outputText value = "Rol:" style = " font-weight:bolder" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.rolId.rol}" title = "RolId" / >
< h:outputText value = "#{demoBeanUsuarios.usuarios.rolId.rol}" title = "RolId" / >
< / h:panelGrid >
< / h:panelGrid >
< / div >
< div style = "margin-top: 20px;" >
< p:commandButton action = "usuariosLista.xhtml" icon = "pi pi-arrow-left" ajax = "false" style = "right:-790px" / >
< p:commandButton action = "usuariosLista.xhtml" icon = "pi pi-arrow-left"
style="margin-left: 10px; border-color:red; float: right;" ajax="false" immediate="true"/>
< / div >
< / div >