• 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: Finding the top level component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the top level component


  • Subject: Re: Finding the top level component
  • From: Peter Vandoros <email@hidden>
  • Date: Fri, 09 Dec 2005 10:23:38 +1100

I believe context().page() will give the current page (top level component) that you are working with.

Thanks

Peter

Miguel Arroz wrote:

Hi!

When working in a method of a sub-component, is there a straightforward way to get the top level component (assuming that there is more that one component level, so that the component's parent () is also not the top level one)?

  Yours

Miguel Arroz

      "GUERRA E' PAZ
       LIBERDADE E' ESCRAVIDAO
       IGNORANCIA E' FORCA"       -- 1984

Miguel Arroz
http://www.ipragma.com



_______________________________________________
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


References: 
 >Finding the top level component (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Finding the top level component
  • Next by Date: Re: WOResourceManager and localization issue
  • Previous by thread: Finding the top level component
  • Next by thread: Re: Finding the top level component
  • Index(es):
    • Date
    • Thread