<SOLVED>

Trying to use a Direct Action Form ... needed a component action....

Gino
On 16 Feb 2012, at 17:06, Gino Pacitti 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 ?

}


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

This email sent to ginok...@mac.com

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

This email sent to arch...@mail-archive.com

Reply via email to