• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Set value from parent java to subcomponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Set value from parent java to subcomponent (From: Ramon Havermans <email@hidden>)

  • Prev by Date: Re: Jad?
  • Next by Date: Re: Jad?
  • Previous by thread: Set value from parent java to subcomponent
  • Next by thread: Fw: [Announce] ERDivaLook (beta III) : "table-less" D2W look
  • Index(es):
    • Date
    • Thread