WOCheckBox to my instance
WOCheckBox to my instance
- Subject: WOCheckBox to my instance
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 8 Feb 2008 08:23:32 -0800 (PST)
I have a WOCheckBox in my Component and I am trying to
bind it back to the app. I have this in my WOD
HTML
<webobject name="allOrOpenOnlyCheckBox" />
WOD
allOrOpenOnlyCheckBox: WOCheckBox {
checked = allAdsBool;
}
And this in my .java:
public Boolean allAdsBool;
public Boolean allAdsBool() {
return allAdsBool;
}
public void setAllAdsBool(Boolean newBool)
{
NSLog.out.appendln("setAllAdsBool = " + newBool);
allAdsBool = newBool;
}
If I click the checkbox on the rendered page, the
setter is not called. What am I doing wrong?
Ted
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
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