code: @Override
  	public void doRender(final WComponent component, final WebXmlRenderContext renderContext) {
  		WProgressBar progressBar = (WProgressBar) component;
  		XmlStringBuilder xml = renderContext.getWriter();
  
  		xml.appendTagOpen("html:progress");
  		xml.appendAttribute("id", component.getId());
  		xml.appendAttribute("class", getHtmlClass(progressBar));
  		xml.appendOptionalAttribute("hidden", progressBar.isHidden(), "hidden");
  		xml.appendOptionalAttribute("title", progressBar.getToolTip());
  		xml.appendOptionalAttribute("aria-label", progressBar.getAccessibleText());
  		xml.appendAttribute("value", progressBar.getValue());
  		xml.appendOptionalAttribute("max", progressBar.getMax() > 0, progressBar.getMax());
  		xml.appendClose();
  		xml.appendEndTag("html:progress");
  	}
docs: Paints the given WProgressBar.
  
  @param component the WProgressBar to paint.
  @param renderContext the RenderContext to paint to.