Re: Set value from parent java to subcomponent
Re: Set value from parent java to subcomponent
- Subject: Re: Set value from parent java to subcomponent
- From: Chuck Hill <email@hidden>
- Date: Fri, 6 Mar 2009 11:36:26 -0800
On Mar 6, 2009, at 1:57 AM, Ramon Havermans wrote:
Hi,
Is there a way to set a value from a parent java (not bindings) page
to its subcomponent?
Kind regards,
Ramon
No. Components pull values from the parent. The parents don't push
them to the children. There is a parent() method on WOComponent that
can be used to move back up the chain. context().page() returns the
top level page.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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