-
1. Re: Shouldn't captcha.validate also clear response?
shane.bryzak Aug 1, 2007 8:36 PM (in response to henrik.lindberg)This won't clear the captcha response, as the state isn't read again from the Captcha component if validation fails. Off the top of my head I can't think of an easy way around this.
-
2. Re: Shouldn't captcha.validate also clear response?
henrik.lindberg Aug 1, 2007 10:49 PM (in response to henrik.lindberg)I contemplated writing some kind of wrapper that kept both the value and performed validation by delegation - but I could not quite figure out how to do it.
Hope someone can think of something - it is a quite irritating issue. (Coupled with the fact that the default captcha configuration generates really hard captchas - that is another issue that I have not had time to look into yet - but is certainly a sort of work around to input not being cleared when invalid). -
3. Re: Shouldn't captcha.validate also clear response?
henrik.lindberg Aug 1, 2007 10:51 PM (in response to henrik.lindberg)rephrase - workaround would be to configure captcha to generate images that are easier to read.
-
4. Re: Shouldn't captcha.validate also clear response?
gavin.king Aug 2, 2007 1:07 AM (in response to henrik.lindberg)No, I can't think of a way to do this in JSF, not without calling the JSF component directly.