You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Eurig Jones <eu...@gmail.com> on 2005/10/22 21:47:25 UTC

Adding a Component to a custom component

I have a custom component which renders a table and a few images etc 
using a Renderer.

What I need is to render a CommandButton which is part of the above 
component (a child of the component I suppose) without having to specify 
its HtmlCommandButton tag in the JSP.

I guess i'd use app.createComponent() method somehow...

but I have no idea when or where is the right place in the code to 
create the component, and also how can I also render it at the right 
place when the custom component it rendered?

Thanks in advance for the help!
Eurig