-
1. Re: CAPTCHA image not updated after false input
pmuir Mar 26, 2008 11:30 AM (in response to dam)What version of Seam?
-
2. Re: CAPTCHA image not updated after false input
dam Mar 27, 2008 2:21 PM (in response to dam)seam 2.0.1.GA
-
3. Re: CAPTCHA image not updated after false input
pmuir Mar 29, 2008 3:00 PM (in response to dam)It should update. Debug the org.jboss.seam.captcha.captcha component's validateResponse() method to find out why it isn't.
-
4. Re: CAPTCHA image not updated after false input
ulath Nov 14, 2008 9:40 AM (in response to dam)i have the same problem. on wrong inputs captcha images is not reloaded. if i view the image on an separate browser tab with this url http://localhost:9090/web-app/seam/resource/captcha i can see the correct image prepared by {captcha} component on wrong input. i'm using icefaces and i think ajax requests prevents refreshing image. any ideas, solutions?
regards ....
-
5. Re: CAPTCHA image not updated after false input
dan.j.allen Nov 16, 2008 11:00 AM (in response to dam)The problem may be that the browser is caching the result. I observed this behavior when preparing the sample code for the CAPTCHA section in my book. Try this:
<h:graphicImage value="/seam/resource/captcha?f=#{currentDate.time}"/>
-
6. Re: CAPTCHA image not updated after false input
dam Nov 16, 2008 11:25 AM (in response to dam)Nice it works. Thanks Dan.
-
7. Re: CAPTCHA image not updated after false input
beligum.b.beligum.org Feb 10, 2009 3:16 AM (in response to dam)Whow, just spent an hour looking for this solution.
Shouldn't this be in the docs?