0 Replies Latest reply on Dec 14, 2009 3:00 PM by parceirokid

    Trouble with jCaptcha-Seam

    parceirokid

      Hi, i need to use CAPTCHA in my project so, my boss told me that Seam gives jCaptcha support. I've read some articles and put an example in a seam-gen entity page. Ok, the math-question captcha appears and works fine. But now I need to customize it and Iḿ having trouble with configuration. I just wrote an class that conatains ImageCaptchaService getService method an tried to put the line bellow on the components.xml file:


      <component name="org.jboss.seam.captcha.captchaImage" service="#{myCaptcha.service}" />



      So I recived this error message:


      cvc-complex-type.3.2.2: Attribute 'service' is not allowed to appear in element 'component'.



      I'm using Ubuntu 9.10 and jBoss Developer Studio (ecipse). What should I do?
      Thanks in advance.