Problem with password tag

UI Components for JSF
Post Reply
rodrigovz
Posts: 21
Joined: 12 Jul 2010, 18:19

30 Jul 2010, 23:20

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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

30 Jul 2010, 23:25

Looks ok, do you have h:head tag as well on your page? Can you use other PrimeFaces components?

rodrigovz
Posts: 21
Joined: 12 Jul 2010, 18:19

31 Jul 2010, 00:08

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


rodrigovz
Posts: 21
Joined: 12 Jul 2010, 18:19

31 Jul 2010, 00:15

Both showcase works, in the case of autoComplete it doesn't call the complete method

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

31 Jul 2010, 00:58

Which state serving method are you using? client or server?

rodrigovz
Posts: 21
Joined: 12 Jul 2010, 18:19

02 Aug 2010, 15:58

I've not defined the METHOD_SERVING_STATE param in my web.xml and I think the value is 'server' by default.

rodrigovz
Posts: 21
Joined: 12 Jul 2010, 18:19

02 Aug 2010, 16:04

I meant 'STATE_SAVING_METHOD'

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Aug 2010, 21:26

Sorry, I can't replicate your issues.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests