What are you attempting to do with the reference to the setter? Maybe
there's some other workaround since I haven't seen a way to get a reference
to it, but also haven't really found a need to.

On Wed, Jul 9, 2008 at 2:43 PM, Charlie Hubbard <[EMAIL PROTECTED]>
wrote:

>
> Ok, I think I've got a pretty difficult question here.  I want to the
> setter method given a string containing the name of a property.  With normal
> methods I can always do something like obj.myFunction to get a reference to
> that function, then I can invoke that function with a func.call().  However,
> if you do obj.someProperty that calls the get method.   I already tried obj[
> propertyName ] which returned null so that's out.
>
> It's almost like you need another language feature.  obj->property= and
> obj->property for ( reference to setter and getter of this property).
>
> Charlie
>
>
>  
>

Reply via email to