I asked a similar question earlier, I think.  Each page contains components and 
you can request a component by name or get a list of components.  However, what 
if a component on a page "contains" other components.  Will the list contain 
all components and their children or just the components of the page.  Someone 
wrote back, that only the child components of the page would be returned.  Then 
you have to take that list and query each of them for their children all the 
way down to the bottom of the tree.

So, my question is what does the page know about its grandchildren?

Dan is that your question?

thanks,

Mark


-----Original Message-----
From: Kevin Menard [mailto:[EMAIL PROTECTED]
Sent: Tue 9/20/2005 1:50 PM
To: Tapestry users
Subject: Re: getting the enclosed components
 

On Sep 20, 2005, at 2:54 PM, Dan Adams wrote:

> I know how to get the components contained by another one but how  
> do you
> get the components that are *enclosed* by another one?

I don't follow your question.  Do you want to know how a component  
knows what its enclosing component is?  Or do you want to know how a  
page can return a list of all components that are enclosed by some  
other component.  Or are you trying to do something altogether  
different?

In any event, it would help a bit more to know what it is you're  
looking to accomplish.

-- 
Kevin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to