7 Replies Latest reply on Feb 10, 2009 3:16 AM by beligum.b.beligum.org

    CAPTCHA image not updated after false input

    dam

      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?