• 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
Binding Sync Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding Sync Question


  • Subject: Binding Sync Question
  • From: Brendon Allen <email@hidden>
  • Date: Thu, 02 Jan 2003 16:42:21 +1100

I have a component that I am loading in a page.  This component consists of
a pop-up list I create dynamically.  To make this code reusable I want to
pass the selection field as a binding form the page that calls my component.

It all sounds easy and I figured it would be but here is the problem I am
finding.  The binding is not set at construct time.  Hence when I try and
get the binding values when the constructor for my component gets called
they are null.  Now if I add a hyperlink that calls a method in the
component to print out the bindings after construction with I click on the
link all the values are there!

I really need the values from the bindings at construct time, is there an
easy way to do this?  I have tried explicitly setting the
synchronizesVariablesWithBindings() setting to true to no avail.

This question seems so simple but I cannot get the values when I need them,
thanks for your help.

Brendon Allen
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Binding Sync Question
      • From: Jonathan Rochkind <email@hidden>
    • Double Posting...
      • From: Brendon Allen <email@hidden>
  • Prev by Date: SQL and ASP In WebObjects
  • Next by Date: Double Posting...
  • Previous by thread: Re: SQL and ASP In WebObjects
  • Next by thread: Double Posting...
  • Index(es):
    • Date
    • Thread