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: email@hidden
- Date: Fri, 18 Aug 2006 18:53:09 +0200
Ok, it's friday afternoon, I will go
back home soon... (;-(
Jérémy
P.S. :
but I will have learned lot of things
today !
Paul Lynch <email@hidden>
18/08/2006 18:51
|
A
| email@hidden
|
cc
| Webobjects <email@hidden>,
webobjects-dev <email@hidden>
|
Objet
| Re: RE Little starter help with instance
and action of a WOConponent |
|
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