[jboss-user] [JBoss Seam] - Re: Captcha - custom message
Thanks Michael - I'd already tried to add a getter method to the bean and couldn't get it work, but your second suggestion of using the customised s:validate message works really well. Cheers Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047477#4047477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Captcha - custom message
Hi, how can I localize the captcha response message for different languages? At the moment I get "input characters did not match", in case my response is incorrect, whatever the language the rest of the interface is in... There appears to be a way to annotate the CaptchaResponse with a custom message (http://docs.jboss.com/seam/1.2.1.GA/api/org/jboss/seam/captcha/CaptchaResponse.html) but I can't see how to make it work. Any advice greatly appreciated. Thanks, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046818#4046818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Captcha
Thanks, I have done so: http://jira.jboss.org/jira/browse/JBSEAM-1320 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044994#4044994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Captcha
Hi using the captcha provided with Seam (and used as suggested in the Seam documentation), I have the following problem. If I submit a page which contains the captcha, and having filled in the catpcha response field, but validation fails due to a problem in another field on the page, the page is redisplayed but with a NEW captcha image. However the captcha response field is repopulated with what I previously put there, even though the image has now changed. I would like for the response text to be cleared when a new captcha image is generated. Is there a way to do this at the moment? Thanks in advance, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044914#4044914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user