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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/ginokris%40me.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to