Have you looked at the Recaptcha Java plugin?  It might give you an
example of how to create a Recaptcha component.  I'm actually thinking
about playing around with this myself.  Recaptcha seems pretty cool.
I'll let you know if I come up with anything.

On Mon, May 12, 2008 at 1:57 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> Ok, that's the only way I know how too.  I was hoping there is another
> way
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan
>> Gravener
>> Sent: Friday, May 09, 2008 12:52 PM
>> To: [email protected]
>> Subject: Re: Javascript adding input
>>
>> Get the hidden data from the request:
>> getRequest().getParameter("hidden_token");
>>
>> On Fri, May 9, 2008 at 2:13 PM, Dan Kaplan <[EMAIL PROTECTED]>
>> wrote:
>>
>> > That's not the point, but if you need a good reason how about this:
> I'm
>> > using recaptcha (it generates a captcha on the page).  It works by
>> > putting a script tag where you want it to show up.  When the page
> loads,
>> > it puts a text input field and a bunch of hidden fields there.  You
> need
>> > these hidden fields to tell the recaptcha server what it gave you so
> it
>> > can compare it to what the user typed in.  Without them, it can't
> tell
>> > you if the user entered things in correctly or not.
>> >
>> > > -----Original Message-----
>> > > From: Maurice Marrink [mailto:[EMAIL PROTECTED]
>> > > Sent: Friday, May 09, 2008 12:24 AM
>> > > To: [email protected]
>> > > Subject: Re: Javascript adding input
>> > >
>> > > Why would you want to do that?
>> > > If it happens at form load you must know about this inputfield
> when
>> > > you create the page so why not add a wicket component for it too?
>> > >
>> > > Maurice
>> > >
>> > > On Fri, May 9, 2008 at 1:02 AM, Dan Kaplan
> <[EMAIL PROTECTED]>
>> > > wrote:
>> > > > Let's say that hypothetically I used javascript to add an
> <input> to
>> > a
>> > > > form in its onload method.  How can I get wicket to become aware
> of
>> > that
>> > > > input so I can do things like validate it, etc.?
>> > > >
>> > > >
>> > >
>> > >
> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > >
>> >
>> >
>> >
>> >
> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> --
>> Ryan Gravener
>> http://twitter.com/ryangravener
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to