• 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: Problem with Resuable Component and ^ "operator"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Resuable Component and ^ "operator"


  • Subject: Re: Problem with Resuable Component and ^ "operator"
  • From: "YL" <email@hidden>
  • Date: Fri, 30 Jun 2006 22:58:06 -0600

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
To: WebObjects (Group)
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problem with Resuable Component and ^ "operator" (From: "YL" <email@hidden>)
 >Re: Problem with Resuable Component and ^ "operator" (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Problem with Resuable Component and ^ "operator"
  • Previous by thread: Re: Problem with Resuable Component and ^ "operator"
  • Index(es):
    • Date
    • Thread