Captcha not visible under Chrome

UI Components for JSF
Post Reply
hatspencer
Posts: 4
Joined: 01 Sep 2010, 21:08

02 Sep 2010, 00:28

Hey there,

My JSF webapplication uses PrimeFaces Captcha. It works properly under Firefox 3.6.8 and IE8, but it does not show under Chrome5. I don't get any errors at page generation, but if I try to post the data with the invisible Captcha, the following error message is shown:
j_idt25:j_idt32: Validation Error: Value is not valid.
<p:resources/> tag is defined in my templates <head>

I am using:
GlassFish Server Open Source Edition 3.0.1
JSF2.0 with Facelets
PrimeFaces 2.1

PrimeFaces ShowCase Captcha works fine under both browsers, including Chrome.

Feel free to state questions about the application, because i don't know which parts I should focus on.

Any help would be appreciated, thanks in advance! Daniel

callahan
Posts: 768
Joined: 27 May 2010, 22:52

02 Sep 2010, 00:38

Hi,

FAQ 6 on page 411 of the user's guide may solve your problem.

hatspencer
Posts: 4
Joined: 01 Sep 2010, 21:08

02 Sep 2010, 01:16

Thanks!

I wrapped the content of <html> inside <f:view contentType="text/html"></f:view> and it works!

callahan
Posts: 768
Joined: 27 May 2010, 22:52

02 Sep 2010, 01:24

Yo ;)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests