Seabix,
Wouldn't using performParentAction() from a subcomponent invoke an
action and subsequently create a new request-response loop? I don't
really think that's what you're after.
It seems to me that you really want an instance variable in the
parent that you would access from the subcomponent through key value
coding. Put your calculation in the getter method so KVC will access
its return value through your bound key.
Maybe the "^value1ModifiedByParent" binding syntax would work for
your. Otherwise you could also use a backing instance variable
inside your subcomponent that binds directly to the instance variable
in the parent component.
This is just off the top of my head, but seems like a more logical
solution.
On Jan 17, 2007, at 4:43 PM, Seabix GmbH - Th. Kramis wrote:
Is it possible to do the following? How?
ParentComponent - Parent.wo
ChildComponent - Child.wo
There is a WORepetiotion in Child.woa with a bunch of String
values. So the
WORepetition is bound to the NSArray listValues and to the String
value.
No i wan't to give the value of each iteration up to the parent
where an
action (public String modifyChildValue()) is performed and the
return value
will show up next to the original value in the WORepetition (in
Child.wo).
The Result would be something like this:
Value1 - Value1ModifiedByParent
Value2 - Value2ModifiedByParent
Value3 - Value3ModifiedByParent
Can anyone help me on this?
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/robertwalker1%
40mac.com
This email sent to [EMAIL PROTECTED]
--
Robert Walker
[EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]