• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERCaptcha
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERCaptcha


  • Subject: Re: ERCaptcha
  • From: Gino Pacitti <email@hidden>
  • Date: Fri, 17 Feb 2012 08:42:16 +0000

Yes it was... but I solved this...
It does not seem to work if the form was bound to a Direct Action and the submit button was static HTML input element.

Once I used a component action it then worked fine...

Don't much like the Gotcha image though HAHA

Gino
On 16 Feb 2012, at 21:17, Matthew Ness wrote:

Im trying to use ERCaptcha Framework and used a ERCaptcha component in
a page...

I have the binding validated  bound to a variable validated in the
component which uses the ERCaptcha yet every attempt at inputting the
text results in false?

Any thoughts or experiences...

WOComponent
<webobject name="ERCaptcha1"></webobject>


WOD FILE
ERCaptcha1: ERCaptcha {
validated = validated;
}

JAVA FILE
   private boolean validated;

    public void setValidated(boolean isVal){
        validated =  isVal;
    }

    public boolean validated(){
        return validated;
    }

            public void appendToResponse(WOResponse res,  WOContext
con){

	 super.appendToResponse(res, con);
                System.out.println("IS VALIDATED "+ validated()); //
always false ?

}


Hi Gino,

Is your ERCaptcha1 component in a WOForm?

Cheers,

Matt

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: ERCaptcha
      • From: Matthew Ness <email@hidden>
References: 
 >ERCaptcha (From: Gino Pacitti <email@hidden>)
 >Re: ERCaptcha (From: Matthew Ness <email@hidden>)

  • Prev by Date: Re: More Help for Old Noobie
  • Next by Date: Re: WebObjects + WOnder on Windows
  • Previous by thread: Re: ERCaptcha
  • Next by thread: Re: ERCaptcha
  • Index(es):
    • Date
    • Thread