code: @Override
  	public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
  		if (!component.isRendered()) {
  			return;
  		}
  		Slider slider = (Slider) component;
  		ResponseWriter rw = context.getResponseWriter();
  		encodeHTML(slider, context, rw);
  
  		Tooltip.activateTooltips(context, slider);
  	}
docs: This methods generates the HTML code of the current b:slider.
  
  @param context
  the FacesContext.
  @param component
  the current b:slider.
  @throws IOException
  thrown if something goes wrong when writing the HTML code.