I made a component yesterday that looked like this...

public class myComp extends ERXComponent {

        public SomeEntity anObject;

}

anObject was bound in the wod and everything worked great.  Later I added a 
method...

public class myComp extends ERXComponent {

        public SomeEntity anObject;

        public boolean isAnObject() {
                return false;
        }

}

this is where all hell broke lose.  As soon as I added that method I kept 
getting KVC errors stating that no such key "anObject" existed on a binding 
that was just working.  Can anyone explain this to me?  I thought the search 
order was getBinding(), binding(), _getBinding(), _binding(), binding, _binding.

Does isBinding() squeeze into that ordering somewhere?
Is this a special case for binding to any boolean?

Thanks.
-Mike

 _______________________________________________
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