3 Replies Latest reply on Aug 22, 2009 8:39 AM by Nick Belaevski

    Re-rendering new Captcha

    Shantanu Upadhyaya Newbie

      I'm trying to Rerender the following panel inorder to regenerate the captcha image :

      <a4j:outputPanel id="tempPanel">
       <h:graphicImage id="captchaImg" value="jcaptcha" />
       </a4j:outputPanel>
      
       <a4j:commandButton id="refreshCaptcha" value="A4J Re-Captcha" reRender="tempPanel" />


      It's not working. I just want to re-render the region and NOT the entire form submit ( which works fine )

      What I have to do it to force it to submit to the 'jcaptcha' servlet and regerate the tempPanel. How can I achieve that ?