click-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <sab...@gmail.com>
Subject Re: Does Apache Click support Captchas?
Date Sat, 03 Apr 2010 13:00:59 GMT
On 3/04/2010 11:50 PM, C Jennings wrote:
>
>  I wonder, then if it is even possible to embed a Javascript element inside a form using
Click? Otherwise, how else could you pass back any arguments to the Page class?


Something like this should work:

public class CaptchaField extends Field {

   public String render(HtmlStringBuffer buffer) {
     buffer.render("add captcha script output here");
   }
}

kind regards

bob

Mime
View raw message