How to programatically embed one component in another component

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to programatically embed one component in another component

Patrick Casey
 

            I have a pair of customer components. During the course of
rendering one of them, I want to embed the rendered result of the other one
e.g.

 

            Writer.begin("tr");

            Writer.begin("td");

            // sub-component goes here

            Writer.end("td");

            Writer.end("tr);

 

            Can somebody help out with what code goes in the middle there to
actually get the component, pass it parameters, and render it?

 

            Thanks,

 

            -- Pat