Page 1 of 1

Problem with password tag

Posted: 30 Jul 2010, 23:20
by rodrigovz
It simply doesn't show the password strenght

My code is this

Code: Select all

<h:form>
                <p:panel header="ContraseƱa">
                    <h:panelGrid columns="2" bgcolor="white">
                        <h:outputText value="Clave nueva: " />
                        <p:password value="#{loginController.password}" promptLabel="Muestra cuan seguro es el password" weakLabel="Debil"
                                    goodLabel="Seguro" strongLabel="Muy seguro" minLength="8"/>
                        <h:outputText value="Confirmar clave: " />
                        <h:inputSecret value="#{loginController.password2}"/>
                    </h:panelGrid>
                </p:panel>
                </h:form>
I'm using primefaces 2.1, Glassfish 3.01

Thanks.

Re: Problem with password tag

Posted: 30 Jul 2010, 23:25
by cagatay.civici
Looks ok, do you have h:head tag as well on your page? Can you use other PrimeFaces components?

Re: Problem with password tag

Posted: 31 Jul 2010, 00:08
by rodrigovz
yes, I have a <h:head> tag, I have another primefaces components and some works and another components don't wok, for example autoComplete is not woking since primefaces 2.01

Re: Problem with password tag

Posted: 31 Jul 2010, 00:13
by cagatay.civici

Re: Problem with password tag

Posted: 31 Jul 2010, 00:15
by rodrigovz
Both showcase works, in the case of autoComplete it doesn't call the complete method

Re: Problem with password tag

Posted: 31 Jul 2010, 00:58
by cagatay.civici
Which state serving method are you using? client or server?

Re: Problem with password tag

Posted: 02 Aug 2010, 15:58
by rodrigovz
I've not defined the METHOD_SERVING_STATE param in my web.xml and I think the value is 'server' by default.

Re: Problem with password tag

Posted: 02 Aug 2010, 16:04
by rodrigovz
I meant 'STATE_SAVING_METHOD'

Re: Problem with password tag

Posted: 02 Aug 2010, 21:26
by cagatay.civici
Sorry, I can't replicate your issues.