Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7934623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:41:51+00:00 2026-06-03T21:41:51+00:00

I have written a jsf2 (cdi) web-application, using jQuery, a syntaxhighlighting script lib. On

  • 0

I have written a jsf2 (cdi) web-application, using jQuery, a syntaxhighlighting script lib. On one page I’m using the primefaces 3.2 p:captcha component.

here is the snippet, where using the captcha component.

          <p>
                <p:captcha
                    id="commentCaptcha"
                    theme="white"
                    required="true"
                    requiredMessage="Bitte geben Sie die angezeigten Zeichen im Captcha Dialog ein."                        
                    validatorMessage="Die Captcha Prüfung ist fehlgeschlagen. Bitte versuchen Sie es erneut."
                    secure="true"
                    language="de"/>
            </p>  
            <p>
                <h:commandButton
                    action="#{commentCreatorBean.createCommentForArticle(newComment, article)}" 
                    value="Eintragen">
                    <f:ajax 
                        execute="commentCaptcha name mail comment" 
                        render=":commentsGroup @form :commentMessages"/>                        
                </h:commandButton>
                <div id="hint">...</div>
            </p> 
  • If the given input in the captcha dialog is correct, then everything work’s fine and in this case a comment is persisted.
  • Is the given input empty, than the requiredMessage is shown in the h:messages area and a pop-up show’s an error msg (see the error msg’s below)
  • Is the given input wrong, than the validatorMessage is shown in the h:messages area and also a pop-up show’s an error msg (see the error msg’s below)

If using the chromium browser, I’ve got the error message: malformedXML: NETWORK_ERR: XMLHttpRequest Exception 101
If using the firefox browser, I’ve got: malformedXML: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)

Does anybody know, what the problem is? I’m registered at google’s recaptcha page with my domain. The public and private key are set in the web.xml ( followed the instruction’s of primefaces docu )

Thank’s in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:41:53+00:00Added an answer on June 3, 2026 at 9:41 pm

    It looks like you are trying to submit the Primefaces Captcha via AJAX.

    This won’t work.

    The Primefaces Captcha is an extension of the Recaptcha plugin and it currently does not support AJAX functionality.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application written in JSF2 that uses Spring. I need to
I have written an ASP.NET MVC application that runs inside an IFrame. When one
I have written a short python script that opens Google music in web view
I have written a small Asp.net application using Entity Framework. A Stored Procedure accepts
I have written a ruby script which opens up dlink admin page in firefox
I have written a watir script that downloads files. One of the files it
I have written a PHP application which requires storage of millions of integers between
I have written a Python TCP/IP server for internal use, using win32serviceutil/py2exe to create
I have written a webservice using the PHP SOAP classes. It has functions to
I'm using JSF2.0 and am building up a wizard. I have encountered a problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.