Re: handle on component's enclosed components
AbstractComponent#getBody( ) maybe? On 11/17/06, Mike Oestereter <[EMAIL PROTECTED]> wrote: Yes,yes I know Tapestry has an API - I just don't know it that well! I am NOT looking for the nested or the contained components of a page/component. I'm specifically looking for only the components that is in the body part of a surrounding component (rendered by a @RenderBody of Main using my example). On 11/17/06, Karthik N <[EMAIL PROTECTED]> wrote: > Look at the API docs > > http://tapestry.apache.org/tapestry4/tapestry/apidocs/index.html > > AbstractPage has getNestedComponent > > AbstractPage extends AbstractComponent that has getComponents() > > HTH > > On 11/17/06, Mike Oestereter <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > Say I've got the following on a template page where Main and Sub are > > components.. > > > > > > > >html > > > > > > > > > > > >more html > > > > > > > > > > Is there a way to get in Main's class a handle on all the Sub > > components enclosed by Main without adding an explicit reference in > > each Sub to Main? > > > > Many thanks > > > > Mike > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Thanks, Karthik > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: handle on component's enclosed components
Yes,yes I know Tapestry has an API - I just don't know it that well! I am NOT looking for the nested or the contained components of a page/component. I'm specifically looking for only the components that is in the body part of a surrounding component (rendered by a @RenderBody of Main using my example). On 11/17/06, Karthik N <[EMAIL PROTECTED]> wrote: Look at the API docs http://tapestry.apache.org/tapestry4/tapestry/apidocs/index.html AbstractPage has getNestedComponent AbstractPage extends AbstractComponent that has getComponents() HTH On 11/17/06, Mike Oestereter <[EMAIL PROTECTED]> wrote: > > Hi > > Say I've got the following on a template page where Main and Sub are > components.. > > > >html > > > > > >more html > > > > > Is there a way to get in Main's class a handle on all the Sub > components enclosed by Main without adding an explicit reference in > each Sub to Main? > > Many thanks > > Mike > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks, Karthik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: handle on component's enclosed components
Look at the API docs http://tapestry.apache.org/tapestry4/tapestry/apidocs/index.html AbstractPage has getNestedComponent AbstractPage extends AbstractComponent that has getComponents() HTH On 11/17/06, Mike Oestereter <[EMAIL PROTECTED]> wrote: Hi Say I've got the following on a template page where Main and Sub are components.. html more html Is there a way to get in Main's class a handle on all the Sub components enclosed by Main without adding an explicit reference in each Sub to Main? Many thanks Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Karthik
handle on component's enclosed components
Hi Say I've got the following on a template page where Main and Sub are components.. html more html Is there a way to get in Main's class a handle on all the Sub components enclosed by Main without adding an explicit reference in each Sub to Main? Many thanks Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]