On Aug 07, 2008, at 13:08 , Pete Muir wrote:
1) Get hold it - Component = findComponent(id)
2) Swap out the responseWriter for a wrapped StringWriter
3) Call JSF.renderChild(facesContext, cmp)
4) Restore the responseWriter
5) Get the String from the string writer is the rendered body of
your component
The wiki is doing that somewhere in the macro rendering, if you need
an example.