This content has been marked as final.
Show 3 replies
-
1. Re: Re-rendering new Captcha
nbelaevski Aug 21, 2009 2:25 PM (in response to shantanu.u)Hi,
Use ajaxSingle attribute or a4j:region tag. -
2. Re: Re-rendering new Captcha
shantanu.u Aug 21, 2009 11:44 PM (in response to shantanu.u)I tried ajaxSingle="true" on the a4j button. It doesn't work. Even region doesn't work. User guide says
ajaxSingle - submits onle one field / link. Can graphicImage be considered as a field of a control ?
Anyway, I got it to work by using rich:paint2D with minor modification to a good example here - http://www.emforge.org/wiki/ImplementingCaptchaWithJSF
But I think even my code snippet should work. Will ponder over it some more. -
3. Re: Re-rendering new Captcha
nbelaevski Aug 22, 2009 8:39 AM (in response to shantanu.u)RF submits the whole form by AJAX. Region/ajaxSingle are the ways to limit processing on the server, but data is being send anyway.