Re: Reusable Components - one last question
Re: Reusable Components - one last question
- Subject: Re: Reusable Components - one last question
- From: Ray Ackland <email@hidden>
- Date: Mon, 20 Oct 2003 10:48:08 +1300
With the help and input from Andrew (and Art), my page is continuing to
progress and I am feeling quite pleased with my new knowledge.
The thing I am wanting to do now (aren't I ever satisfied?) is to
access methods in the sub-component. For instance, the parent provides
the child with the name of an entity. The child then needs to do a
fetch and perform calculations to get the result to display.
I would like to know where I should call those methods? In particular,
at what stage are the binded variables set? I have tried calling the
methods from the constructor (didn't really expect it to work), and
from the awake() method.
Each time the bound variable was still null. I also added the method
ensureAwakeInContext() but this didn't seem to have an effect.
My end result was to use the method valueForBinding() to set them
explicitly, but is this really necessary?
Any suggestions?
ray.
_______________________________________________
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.