code: @Override
  	public void doRender(final WComponent component, final WebXmlRenderContext renderContext) {
  		WTabSet tabSet = (WTabSet) component;
  		XmlStringBuilder xml = renderContext.getWriter();
  
  		xml.appendTagOpen("ui:tabset");
  		xml.appendAttribute("id", component.getId());
  		xml.appendOptionalAttribute("class", component.getHtmlClass());
  		xml.appendOptionalAttribute("track", component.isTracking(), "true");
  		xml.appendAttribute("type", getTypeAsString(tabSet.getType()));
  		xml.appendOptionalAttribute("disabled", tabSet.isDisabled(), "true");
  		xml.appendOptionalAttribute("hidden", tabSet.isHidden(), "true");
  		xml.appendOptionalAttribute("contentHeight", tabSet.getContentHeight());
  		xml.appendOptionalAttribute("showHeadOnly", tabSet.isShowHeadOnly(), "true");
  		xml.appendOptionalAttribute("single",
  				TabSetType.ACCORDION.equals(tabSet.getType()) && tabSet.isSingle(),
  				"true");
  		if (WTabSet.TabSetType.ACCORDION.equals(tabSet.getType())) {
  			xml.appendOptionalAttribute("groupName", tabSet.getGroupName());
  		}
  		xml.appendClose();
  
  		// Render margin
  		MarginRendererUtil.renderMargin(tabSet, renderContext);
  
  		paintChildren(tabSet, renderContext);
  
  		xml.appendEndTag("ui:tabset");
  	}
docs: Paints the given WTabSet.
  
  @param component the WTabSet to paint.
  @param renderContext the RenderContext to paint to.