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..

<span jwcid="[EMAIL PROTECTED]" . . . >

   <p>html</p>

   <!-- maybe even a @For here??  -->
   <span jwcid="[EMAIL PROTECTED]" . . ./>
   <span jwcid="[EMAIL PROTECTED]" . . ./>

   <p>more html</p>

</span>


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

Reply via email to