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 PROTECTED]>

18/08/2006 18:51

A
[EMAIL PROTECTED]
cc
Webobjects <[EMAIL PROTECTED]>, webobjects-dev <[email protected]>
Objet
Re: RE Little starter help with instance and action of a WOConponent






On 18 Aug 2006, at 16:58, [EMAIL PROTECTED] 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to