Hello guys!

Is the following at all possible and if so, where in the framework sources 
might I be able to find an example of how it works?

My component has to render html directly ie:

beginRender(MarkupWriter mw) {
                mw.element(...)
                etc ...
}

I now want the component to take a block parameter (ie header) and have this 
block parameter render within my html ie

beginRender( .. ) {
                mw.element("div")
                /** something like:
header.render()
**/
                mw.end();
}

For this requirement the block wouldn't even need to do anything dynamic, I 
just need a way to "inject" specific markup in a general html structure.

Thanks for taking the time to read this!

Kind Regards,
Wulf

Reply via email to