HtmlWriter w = new HtmlWriter(pageContext.getOut());
HtmlTag cb = w.startTag("input");
cb.addAttribute("type", "checkbox");
addStandardAttributes(cb, null);
cb.addAttribute("name", getTagName(name));
cb.addAttributeNoCheck("value", getStringValue(), true);
cb.addAttribute("checked", getChecked());
cb.addAttribute("disabled", getBoolean(disabled, false));
cb.addAttribute("tabindex", this.tabindex);
// Event Attributes
cb.addAttribute("onclick", this.onclick);