Binding Sync Question
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.