I made it stateless.
 
Turning it into stateful might solve the problem. but it'll be very cool
if this can be solved without doing so.
 
If from within a component, the binding keyPath (with or without
the leading ^ according to the actual definition in .wod file )
can be obtained, the issue should be easily resolved.
 
 
 
----- Original Message -----
From: Art Isbell
Sent: Friday, June 30, 2006 7:36 PM
Subject: Re: Problem with Resuable Component and ^ "operator"

On Jun 30, 2006, at 2:51 PM, YL wrote:

Consider DateTimeField as a reusable component that displays / admits
an NSCalendarDate value.

Does synchronizesVariablesWithBindings return false (or NO) or isStateless return true (or YES) for this reusable component?

But -(void)setValue:forBinding: doesn't work well with the operator ^

I don't believe that you need to invoke setValueForBinding() (or setValue:forBinding:) with '^' values; they should be synchronized automatically.

Aloha,
Art
 _______________________________________________
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