Re: Finding the top level component
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