Re: Access to a surrounding component
Re: Access to a surrounding component
- Subject: Re: Access to a surrounding component
- From: Stefan Klein <email@hidden>
- Date: Tue, 28 Sep 2010 23:01:39 +0200
I'm lazy too :-)
Stefan
Am 28.09.10 22:56, schrieb Mike Schrag:
yeah .. "i need to access a parent component" is almost ALWAYS a red flag of "you're doing it wrong" ... you should be using synchronize bindings = false in the child component, pass in a binding for the value from the parent, and lazily request the computed value when you need it.
ms
On Sep 28, 2010, at 4:47 PM, Timo Hoepfner wrote:
Pass it via bindings... A bit more context would make it easier to help you... :)
Timo
Am 28.09.2010 um 22:33 schrieb Stefan Klein:
Hi,
my problem is not to access the 'parent'.
I had a component in an WOComponentContent and need access direct to the surrounding component.
page
compA
compB
compC
compD
compE
compZ
compC to comE need values from compB.
(Arrgh, i think my English is not good enough to explain that) :-P .
Stefan
Am 28.09.10 22:26, schrieb Farrukh Ijaz:
Hi
use ^ instead of $ in your bindings.
Farrukh
On 2010-09-28, at 11:24 PM, Stefan Klein wrote:
Hi,
is there anyway to access the surrounding component.
Example :
<wo: comp1>
<wo comp2 />
</wo>
Is there anyway for comp2 to find com1 ?
Stefan
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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