i'm using primfaces 2.1RC1 with JSF 2.0.2 FCS (mojarra) and got a problem with password component.
i got a <p:password> inside a dialog, and when open the dialog, the password strenght looks like this:
my code:
Code: Select all
<p:dialog widgetVar="changePasswd" header="#{msg.mudarPasswd}"
modal="true" draggable="true" resizable="false">
<p:growl id="senhaGrowl" />
<h:form id="alterarSenha">
<h:panelGrid columns="2">
<h:outputText value="#{msg.novaSenha}" />
<p:password value="#{managedUsuario.senha}" required="true" />
<h:outputText value="#{msg.confirmarSenha}" />
<p:password value="#{managedUsuario.confirmarSenha}" required="true" />
<p:commandButton value="#{msg.ok}" update="senhaGrowl"
action="#{managedUsuario.alterarSenha}" />
</h:panelGrid>
</h:form>
</p:dialog>