Re: RE Little starter help with instance and action of a WOConponent
Re: RE Little starter help with instance and action of a WOConponent
- Subject: Re: RE Little starter help with instance and action of a WOConponent
- From: Paul Lynch <email@hidden>
- Date: Fri, 18 Aug 2006 17:51:24 +0100
On 18 Aug 2006, at 16:58, email@hidden wrote:
It's the problem. WebObjects don't acces directly the instance
variable but the getter and setter methods. Just look at the error
message that explains you webobjects try to find the right method .
This isn't correct.
WebObjects can access in a component bindings both instance variables
and methods, regardless of access (private/public/protected). This
is logical, for two reasons:
- key value coding knows to looks up methods and instance variables;
- component bindings are resolved by methods inherited from the
superclass, WOComponent, which can see the values regardless of
access privileges.
The most likely problem, as you say in a later email, is using the
wrong target.
Paul
_______________________________________________
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