Re: binding oddity?
Re: binding oddity?
- Subject: Re: binding oddity?
- From: Farrukh Ijaz <email@hidden>
- Date: Wed, 3 Nov 2010 16:34:05 +0300
Hi Mike,
On 2010-11-03, at 4:19 PM, Stefan Klein wrote:
>>>> public class myComp extends ERXComponent {
>>>>
>>>> public SomeEntity anObject;
>>>>
>>>> public boolean isAnObject() {
>>>> return false;
>>>> }
>>>>
>>>> }
BTW, what is the purpose of this isAnObject() which is always returning false?
Can you please share the binding code also? It should depend on the binding type and where the binding is used.
If you are using some kind of conditional components then you also try to use Wonder's additional conditional tags such as ERXNonNullConditional, ERXNonZeroConditional, ERXKeyValueConditional, ERXEqualConditional. They are quite useful and most of the time serves the purpose without explicitly defining conditional methods.
Farrukh _______________________________________________
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