• 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: Not finding binding with "$^" notation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not finding binding with "$^" notation


  • Subject: Re: Not finding binding with "$^" notation
  • From: Sanford Selznick <email@hidden>
  • Date: Fri, 9 Jan 2009 13:32:28 -0700

Title: Re: Not finding binding with "$^" notation
You're the second person to say that.  :-)

I do not have synchronizesVariablesWithBindings in my project.  Nor am I binding to a member variable.  The binding is working perfectly with the "^" notation.

(Nor is what you're saying done in the tutorial, part 2.)

So why's it working?  What's special about ERXStatelessComponent?

(I'm just trying to figure out how all this stuff fits together.)

Thanks,
  Sanford

At 8:26 PM +0000 1/9/09, Hugi Thordarson wrote:
No, for caret notation to work, you just need to override synchronizesVariablesWithBindings() in your component subclass to return false. Otherwise WO will attempt to assign the value of the binding to the component instance itself.

@Override
public boolean synchronizesVariablesWithBindings() {
        return false;
}


- hugi

// Hugi Thordarson
// http://hugi.karlmenn.is/
 _______________________________________________
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

  • Follow-Ups:
    • Re: Not finding binding with "$^" notation
      • From: Hugi Thordarson <email@hidden>
References: 
 >Not finding binding with "$^" notation (From: Sanford Selznick <email@hidden>)
 >Re: Not finding binding with "$^" notation (From: Sanford Selznick <email@hidden>)
 >Re: Not finding binding with "$^" notation (From: Hugi Thordarson <email@hidden>)

  • Prev by Date: Re: Not finding binding with "$^" notation
  • Next by Date: Re: Not finding binding with "$^" notation
  • Previous by thread: Re: Not finding binding with "$^" notation
  • Next by thread: Re: Not finding binding with "$^" notation
  • Index(es):
    • Date
    • Thread