• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RE Little starter help with instance and action of a WOConponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: RE Little starter help with instance and action of a WOConponent (From: Paul Lynch <email@hidden>)

  • Prev by Date: Re: RE Little starter help with instance and action of a WOConponent
  • Next by Date: Re: Newbie : help to customize an D2W freeze component
  • Previous by thread: Re: RE Little starter help with instance and action of a WOConponent
  • Next by thread: Re: RE Little starter help with instance and action of a WOConponent
  • Index(es):
    • Date
    • Thread