code: @Override
  	public void doRender(final WComponent component, final WebXmlRenderContext renderContext) {
  		WFieldLayout fieldLayout = (WFieldLayout) component;
  		XmlStringBuilder xml = renderContext.getWriter();
  		int labelWidth = fieldLayout.getLabelWidth();
  		String title = fieldLayout.getTitle();
  
  		xml.appendTagOpen("ui:fieldlayout");
  		xml.appendAttribute("id", component.getId());
  		xml.appendOptionalAttribute("class", component.getHtmlClass());
  		xml.appendOptionalAttribute("track", component.isTracking(), "true");
  		xml.appendOptionalAttribute("hidden", fieldLayout.isHidden(), "true");
  		xml.appendOptionalAttribute("labelWidth", labelWidth > 0, labelWidth);
  		xml.appendAttribute("layout", fieldLayout.getLayoutType());
  		xml.appendOptionalAttribute("title", title);
  		// Ordered layout
  		if (fieldLayout.isOrdered()) {
  			xml.appendAttribute("ordered", fieldLayout.getOrderedOffset());
  		}
  		xml.appendClose();
  
  		// Render margin
  		MarginRendererUtil.renderMargin(fieldLayout, renderContext);
  
  		// Paint Fields
  		paintChildren(fieldLayout, renderContext);
  
  		xml.appendEndTag("ui:fieldlayout");
  	}
docs: Paints the given WFieldLayout.
  
  @param component the WFieldLayout to paint.
  @param renderContext the RenderContext to paint to.