4 Replies Latest reply on May 16, 2014 7:20 AM by Moses MOsese

    Captcha: customized message for incorrect response

    Rene Felgenträger Newbie

      Hi folks,


      is there a better way of defining a customized message for incorrect responses than extending the superclass org.jboss.seam.captcha.Captcha and overwriting the getResponse()-Method?


      So far this works for me, but is not the most elegant solution:



      @CaptchaResponse(message="stupid, that was the wrong answer!")
          @Override 
          public String getResponse()
          {
                  
             return super.getResponse();
             
          }