Re: WOCheckBox to my instance
Re: WOCheckBox to my instance
- Subject: Re: WOCheckBox to my instance
- From: David LeBer <email@hidden>
- Date: Fri, 8 Feb 2008 13:07:47 -0500
On 8-Feb-08, at 11:23 AM, Theodore Petrosky wrote:
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?
Stupid question Tom: Is your WOCheckbox in a form and are you
submitting the form?
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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