private void renderChildren(final WPanel panel, final WebXmlRenderContext renderContext) {
		LayoutManager layout = panel.getLayout();
		Renderer layoutRenderer = null;

		if (layout != null) {
			layoutRenderer = new RendererFactoryImpl().getRenderer(layout.getClass());
		}

		if (layoutRenderer == null) {
			renderContext.getWriter().appendTag("ui:content");
			paintChildren(panel, renderContext);
			renderContext.getWriter().appendEndTag("ui:content");
		} else {
			layoutRenderer.render(panel, renderContext);
		}
	}
private void renderChildren ( final WPanel panel , final WebXmlRenderContext renderContext ) { LayoutManager layout = panel . getLayout ( ) ; Renderer layoutRenderer = null ; if ( layout != null ) { layoutRenderer = new RendererFactoryImpl ( ) . getRenderer ( layout . getClass ( ) ) ; } if ( layoutRenderer == null ) { renderContext . getWriter ( ) . appendTag ( "ui:content" ) ; paintChildren ( panel , renderContext ) ; renderContext . getWriter ( ) . appendEndTag ( "ui:content" ) ; } else { layoutRenderer . render ( panel , renderContext ) ; } }
Paints the children contained within the panel. This defers rendering to a layout renderer (if available).

@param panel the panel to paint.
@param renderContext the RenderContext to paint to.