7 Replies Latest reply on Feb 10, 2009 3:16 AM by Bram Biesbrouck

    CAPTCHA image not updated after false input

    Jakob Dam Newbie

      I'm using the CAPTCHA in seam. However the CAPTCHA picture is not reloaded on wrong input.


      I included the CAPTCHA in a h:form as follows.


      <h:form>
      ...
        <s:decorate id="captcha" template="layout/edit.xhtml">
          <ui:define name="label">
            <h:graphicImage value="/seam/resource/captcha"/>
          </ui:define>
          <h:inputText id="verifyCaptcha" 
                      value="#{captcha.response}" 
                      required="true" />
        </s:decorate>
      ...
      </h:form>
      



      How do I get the image to update?