Pessoal estou com um problema que o valor que estou enviando para o <p:password> não está sendo exibido segue p código:
<h:form id="formEditUser">
<p:dialog header="Editar Usuário" widgetVar="dlgEditUser" resizable="false" id="dialogEditUser" modal="true" >
<p:messages id="msgTeladitUser" autoUpdate="true"/>
<h:inputHidden value="#{gerenciamentoUserMB.usuario.idUsuario}" id="idUser"/>
<h:inputHidden value="#{gerenciamentoUserMB.usuario.senha}" id="idSenha"/>
<h:panelGrid id="pngEdit" columns="2" cellpadding="4" >
<h:outputLabel value="Login:" style="float: right;"/>
<p:inputText value="#{gerenciamentoUserMB.usuario.login}" required="true" requiredMessage="O campo Login é obrigatório" disabled="false" style="width: 220px;font-weight:bold; "/>
<h:outputLabel value="Senha:" style="float: right;"/>
<p:password value="#{gerenciamentoUserMB.usuario.senha}" required="true" requiredMessage="O campo Senha é obrigatório" disabled="false" feedback="true" promptLabel="Senha" weakLabel="Fraca" goodLabel="Boa" strongLabel="Excelente" style="width: 220px;font-weight:bold; "/>
<h:outputLabel value="Nome:" style="float: right;"/>
<p:inputText value="#{gerenciamentoUserMB.usuario.nome}" required="true" requiredMessage="O campo Nome é obrigatório" disabled="false" style="width: 220px;font-weight:bold; "/>
<h:outputLabel value="Telefone:" style="float: right;"/>
<p:inputMask value="#{gerenciamentoUserMB.usuario.telefone}" disabled="false" mask="(99)9999-9999" style="width: 220px;font-weight:bold; "/>
</h:panelGrid>
<p:separator/>
<p:fieldset legend="Grupos">
<p:pickList id="pListPermissoes" value="#{gerenciamentoUserMB.userGrupos}" var="userGrupos" converter="convertString2Grupo"
itemLabel="#{userGrupos.nome}" itemValue="#{userGrupos.idGrupo}">
</p:pickList>
</p:fieldset>
<p:separator/>
<p:commandButton value="OK" action="#{gerenciamentoUserMB.editar}" oncomplete="handleEditUserRequest(xhr, status, args);"/>
<p:commandButton value="Cancelar" action="#{gerenciamentoUserMB.cancela}" oncomplete="handleEditUserRequest(xhr, status, args);"/>
</p:dialog>
<script type="text/javascript">
function handleEditUserRequest(xhr, status, args) {
if (args.validationFailed || !args.FECHAR || args.FECHAR == undefined) {
dlgEditUser.show();
} else {
dlgEditUser.hide();
}
}
</script>
</h:form>
Alguém sabe o porque o valor não é exibido? todos os demais valores são exibidos.