0 Replies Latest reply on Apr 1, 2011 11:27 AM by todd123

    Seam Captcha Image Not Valid

    todd123

      If I access my registration page via the Jboss Portal url: portal/registration the captcha is never right.  It says incorrect response no matter what I enter and it never refreshes.


      if I access the page via the steam url: portalCme/common/registration.seam it works fine and refreshes.


      I am using Jboss Portal 2.7.0.GA with Jboss Bridge 1.0 and Seam 2.2.1.Final.  Is there something I need to do to get it to work inside the portal and not just via steam pages?


      Heres the code on my xhml page:



      <s:decorate id="verifyCaptchaField" for="verifyCaptcha"
           template="../layout/edit.xhtml">
                <ui:define name="label">Captcha:</ui:define>
                <h:graphicImage value="/seam/resource/captcha?f=#{currentDate.time}"/>
                <h:inputText id="verifyCaptcha" value="#{captcha.response}" size="10" required="false"/>
      </s:decorate>