Re: The most strange problem with bindings...
Re: The most strange problem with bindings...
- Subject: Re: The most strange problem with bindings...
- From: Miguel Arroz <email@hidden>
- Date: Mon, 31 Jul 2006 15:48:44 +0100
Hi!
Thanks for the suggestion, I'll do it. But what I would really
like to understand (and this is the main question that bugs me) is
why does the error happen ONLY when I switch from a component to
another instance of that component. If I switch between two different
components, it acts as expected. Any ideias on this?
Yours
Miguel Arroz
On 2006/07/31, at 14:27, shaun wrote:
In a nutshell, synchronizesVariablesWithBindings returns true, so
your parent and child components synchronize there variables and
bindings. :)
Make your nested component non-synchronizing by overriding the
method synchronizesVariablesWithBindings and return false. Then
implement the valueForBinding method as you need to pull the
binding values into the nested component.
HTH.
- shaun
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz
http://www.ipragma.com
_______________________________________________
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